約 4,186,307 件
https://w.atwiki.jp/909091wiki/pages/58.html
パーティション設定 /dev/sda1 /boot 100MB /dev/sda2 swap 512MB /dev/sda3 / 残り全て 最小構成でインストール aptitude /etc/apt/sources.listでDVD/CDをコメントアウト インストールするパッケージ sudo sudersに自分を追加 nanoの使い方 Ctrl+Oで保存 Ctrl+Xで終了 vim emacs git zsh xorg gitの設定 [http] proxy = http //proxy.example.com 8080 [https] proxy = http //proxy.example.com 8080 [url "https //"] insteadOf = git // シェルを変更(zsh)→oh-my-zshインストール git clone git //github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc テーマをysに変更 デスクトップ環境 xfce4(なし gnome-desktop-environment(なし kde-plasma-desktop network-manager-kde lxde(なし その他 texlive texlive-lang-cjk texlive-fonts-recommended latexmk ghostscript ufw その後 iceweaselを消してfirefoxをいれる xdg-user-dirs-gtk-update 共有フォルダ CDを挿入しマウント 足りないパッケージをインストール(ログを見てから)/var/log/vboxadd-install.log ゲストパッケージをインストール アンマウント グループにユーザ追加 再起動 mkdir /mnt/cdrom mount -r /dev/cdrom /mnt/cdrom aptitude install linux-headers-3.2.0-4-486 (ダウンロードだけで十分かもしれない) /mnt/cdrom/VBoxLinuxAdditions.run umount /mnt/cdrom gpasswd -a [username] vboxsf reboot LightTable glibc2.15が無いと言われる/etc/apt/sources.listに追記 deb http //ftp.debian.org/debian experimental main apt-get update apt-get -t experimental install libc6
https://w.atwiki.jp/matsutips/pages/7.html
システム系Linuxコマンド64bit Compile X関連 viで編集すると毎回データの修復画面になる kinput2環境設定 ビデオカード追加 新しいマシンへの移行に伴う変更HDD内容コピー grubインストール システム系Linuxコマンド Debian特有かどうかは調査していないので不明。 色んな設定時に使ったコマンドと使用法一覧。 lspci PCIデバイス一覧を表示。(list all PCI devices) ポート、ベンダなど。 lsmod /sbin/lsmod にある。インストールされているモジュール一覧を表示。 adduser USER GROUP USERをGROUPに追加。 uname システム情報を提示。print system information オプションなしだと使用OSが、-a オプションでkernel versionなどの情報まで出る。 modprobe /sbin/modprobe にある。動的にモジュールをロードする。 64bit Compile gccでコンパイルする場合 -m64 オプションでコンパイル可能 (-m32 オプションで32bitコンパイル) デフォルトを調べるには、 file `which gcc` を実行すればどちらかわかる。 X関連 startx X window systemを起動 xinit X window system initializer viで編集すると毎回データの修復画面になる viで一度異常終了すると、.swpファイルが生成される。 これが残っており、かつ編集対象ファイルと異なっていると修復を聞かれることになる。 必要なければ消せば聞かれなくなる kinput2環境設定 通常の設定方法は日本語環境の構築 のkinput2のあたりが詳しいかと。ここは私がはまった件について。 Warning XimpProtocol SelectionClear event received Warning Kinput2Protocol SelectionClear event received てのが出た。結論的には私の場合は2重にkinput2を起動させていたことが原因だった。 bash を使っているなら、 .bashrc(.bash_profile) 内に export LANG=ja_JP.eucJP export XMODIRFIERS=@im=kinput2 kinput2 -canna とか書く(環境によって適宜変更のこと)のだが、実は私はGNOME端末を使っていて、Debianでは/etc/rcS.d/とかで起動してることもあり(?).bashrcでは二重起動がされた。 なんで、gnomeなんだからそこで起動しろということで .gnomerc で起動させると解決した。 なんらかの原因で二重起動していることを考えてみてはどうでしょうか。 ちなみに、boot時に起動する項目としては kernelレベル(init.dとか) WindowManegerレベル(gnome/kdeとか) シェルレベル(bash/tcsh .bashrc/.cshrcとか) があるんじゃないでしょうか。これくらいのLinuxユーザが多いんかなぁ。と思ってみたり。 ビデオカード追加 手順: ドライバインストール XF86Config変更 BIOS設定 gdm再インストール /etc/modules設定変更 うちの場合について。 環境:i810マザーボード、intel製。今まではオンボードのビデオを使用。 PCIカードのビデオカードを追加。nVidia GeForce4 MX 4000。 PCIカードのくせにAGP8xという変わり者。PCI拡張期の時に出たやつか、 AGPを他の用途に使うというレアキャラ用のボードだったような気が。 箱をあけてカードをさして起動すると、gdmがないとか言われてXが立ち上がらずエラー。 ここからしたことは、 lspciでパーツを確認の後、ドライバをインストール nVidia製なので、nvidia-kernel-commonとかそのへん。apt-cache search nvidiaとかでぼろぼろでてくるはず。 この際に、現在のkernelのバージョン(uname -aで調べる)に対応するnvidiaのドライバ(nvidia-kernel-なんたら)がなかったため、kernelのバージョンをアップ(2.4.26 - 2.4.27)。 kernelのバージョンを上げたときは最悪立ち上がらなくなるので、すぐにrebootして起動確認する。 kernelをバージョンアップした後に対応するnvidiaのドライバをインストール。 さらに、ドライバのライブラリは別入なので、これもインストール(nvidia-glx)。 /etc/X11/XF86Config-4を編集 後からわかったが、直接編集しなくても dpkg-reconfigure xserver-xfree86 とすれば対話的に設定ができる。これでGoogleればでてくるはず。要root権限。 手で編集したので、編集した箇所を書いておくと、 Section "Module" 中 Load "GLcore" をコメントアウト Load "dri" をコメントアウト Load "glx" を追加 Section "Device" を追加。内容は以下の通り Identifier "GeForce" Driver "nvidia" BusID "PCI 2 5 0" EndSection Section "Screen" 中 Device "GeForce" に書き換え(元はGeneric Video Cardだった) DefaultDepth 24 に書き換え ただし、BusIDはlspciにてnVidiaのカードのPCIナンバが 0000 02 05.0になっていたので、そこから推測。(人によって違う) BIOS設定 起動時のディスプレイ出力を変更するため、BIOSの設定を変更。 BIOSは多分Awardかなんかだとおもう。 Advanced Chipset ... の on-board VGAをoffにした。 gdm再インストール gdmでエラーが出て、それに伴ってキーボード系のエラーも出た。 だもんで、よくわからんかったけど再インストール。 したら(バージョンアップで?)なんとかなった。 /etc/modulesを編集 ディスプレイ関連なので、初期にモジュールを読み込む必要があるらしい。 /sbin/lsmod で確認した後、/etc/modules 中に nvidia を書き込んだ。 新しいマシンへの移行に伴う変更 HDD内容コピー 内容をコピーした。気をつけるべき点は後述。 やり方としては、古いHDDと新しいHDDを接続の後、KNOPPIXで起動。その後rsyncを使ってコピー。 まず、HDDをデバイスとして認識しているので、マウントする。 mount /dev/sda1 /mnt/sda1 など。sda1の部分はHDDの接続の仕方とかによって異なる。SATAとかUSBとかの場合はsd[a-d]に割り当てられて、ATAならhd[a-d]に割り当てられるっぽい。 後ろの番号はパーティション番号。ついてないものはデバイスそのものを表す。 どこのデバイスに接続されたかはdmesgを見ると書いてある。起動時に出るデバイス名を見て、同じ文字列を探したらその近くにあるはず。 古いHDDをマウントし終わったら、次は新しいHDDのパーティション設定。細かくは後述。 disk druidとかのGUIツールを使うと楽かも。 パーティションを切り終わったら各パーティションをフォーマット。通常のディスク容量として用いるパーティションならmkfsでタイプをext3としてフォーマットする。詳しいmkfsの使い方はManpage of MKFSを参照。スワップ領域はmkswapを用いる。やり方はmkfsと同様。 フォーマットした後にはちゃんとマウントすることを忘れないように。 autoで設定してくれる場合を除き、パーティション設定後は/etc/fstabをパーティションの割り当てに即して書き換える必要がある。例えば以下のように。 # file system mount point type options dump pass proc /proc proc defaults 0 0 /dev/sda1 / ext3 defaults,errors=remount-ro 0 1 /dev/sda2 none swap sw 0 0 みたいな感じ。ただし、今回のように乗り換える場合は(当然ながら)古いHDDから新しいHDDにコピーをした(下に述べる)後に書き換える必要がある。でないと、せっかく書き換えたものがもう一度上書きされる。 で、コピー。これはrsyncを使うことをお勧めする。同じく使い方はrsyncを参照。パーティションごと(パーティションの切り方が異なる場合は対象フォルダごと)に rsync -avz /mnt/hdb1/ /mnt/sda1 みたいにしてコピーする。実は/のあるなしが重要になるので注意。上の例ではhdb1パーティションの中身をsda1パーティションにコピーしている。 気をつけるべき点。 パーティション設定 パーティションわけ(fdiskを用いる)をするときに分け方と割り当てる容量をちゃんと考えること。CDから新しくインストールする場合はGUIツール(disk druidとか)があって楽かも。 パーティション設定としては、/(ルート)は必ず作ること。昔は/bootパーティションも作る必要があったが、今は必要ない場合が多い。あと、/swapパーティション(仮想メモリを入れる空間)は用意しておくと安定に稼動する。swap容量は必要なメモリ空間の大きさから実際に積んであるメモリの量を引いて求める。ちなみに、私のマシンはメモリが1GB、swapを1GBの計2GBとしてある。画像や動画を積極的に扱わない限りは1GBで十分と思われる。swapパーティションはパーティションタイプをswapに書き換えておくこと。その他は自分の必要に応じて作成すること。データ空間とプログラム空間は別にしておいた方が復旧時は楽な場合が多いことを追記しておく。 grubインストール GRUBについてあたりを参照。
https://w.atwiki.jp/anthony/pages/36.html
Debian Wheezyのインストール前準備 以前から玄箱PROはDebian化して運用していたのですが、この度家庭内LAN上のLinkStationがHDD故障でトラブルに逢ったことが原因で、色々と整理を始めていました。 いつも分からないコマンドがあるとネットで調べていたのですが、色々なところに書いてあるのに私の環境では使えないものがあることに気が付きました。 例えば apt-get autoremove 試しにinstallしては不要なuninstallなどしていたので、deborphanなどで依存関係を整理して削除などしていたのですが、こんな便利なものがあるなら是非使いたい。 Debian etch 4.0が古いのが問題で、最新のDebian wheezy 7.0まで上げればよいのだと思い知り、更にネットで「kurobox pro wheezy」で調べてみると"出来る"ことが分かったので、思い切って上げてみることにしました。 新しいHDDに入れ替えて新規にDebian環境をセットアップ おそらくこれが一番トラブルが少ないであろうということで、新しいHDDに入れ替えてセットアップすることにしました。 使うのはノートPCのSSD化などで余っていた2.5inch 250G 5200rpmのHDDです。 玄箱PROはHDDのマウンターに2.5inch用のネジ穴が用意されているので、別途マウンターを用意する必要もありません。 シリアルコンソール必須です。私が使っているのはUP12C USB PDC Converterというやつです。 Windows7用のドライバー(U232-13.2.98.130315.zip)をインストールして準備完了。 TeraTermのSerial Port設定 Baud rate 115200 bps Data 8 bit Parity none Stop 1 bit Flow contro none 玄箱PROの電源ON 作業開始 Orion1 CPU = Low === KURO U-Boot. === ** LOADER ** ** KUROBOX BOARD KURO_BOX LE (CFG_ENV_ADDR=fffff000) U-Boot 1.1.1 (Apr 10 2007 - 18 10 08) Marvell version 1.12.1 - TINY DRAM CS[0] base 0x00000000 size 128MB DRAM Total size 128MB [256kB@fffc0000] Flash 256 kB Addresses 20M - 0M are saved for the U-Boot usage. Mem malloc Initialization (20M - 16M) Done NAND 256 MB Soc 88F5182 A2 CPU ARM926 (Rev 0) running @ 500Mhz Orion 1 streaming disabled SysClock = 250Mhz , TClock = 166Mhz USB 0 host mode USB 1 host mode PCI 0 PCI Express Root Complex Interface PCI 1 Conventional PCI, speed = 33000000 Net egiga0 [PRIME] Using 88E1118 phy hit any key to switch tftp boot. Hit any key to stop autoboot 0 system_bootend Hit any key to stop autoboot 3 ここでEnteryキーを押下してストップ 以下の5行を順番にコピペして貼り付け setenv bootargs_root root=/dev/mtdblock2 rw panic=5 setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver) setenv bootcmd nboot $(default_kernel_addr) 0 $(nand_uImage_offset) ;setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver); bootm $(default_kernel_addr) setenv nand_boot yes boot 続き Marvell setenv bootargs_root root=/dev/mtdblock2 rw panic=5 Marvell setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver) Marvell setenv bootcmd nboot $(default_kernel_addr) 0 $(nand_uImage_offset) ;setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver); bootm $(default_kernel_addr) Marvell setenv nand_boot yes Marvell boot Loading from device 0 NULL at 0xfa000000 (offset 0x20000) Image Name Linux-2.6.12.6-arm1 Created 2007-04-10 13 45 13 UTC Image Type ARM Linux Kernel Image (uncompressed) Data Size 1736548 Bytes = 1.7 MB Load Address 00008000 Entry Point 00008000 stop_sound ## Booting image at 00100000 ... Image Name Linux-2.6.12.6-arm1 Created 2007-04-10 13 45 13 UTC Image Type ARM Linux Kernel Image (uncompressed) Data Size 1736548 Bytes = 1.7 MB Load Address 00008000 Entry Point 00008000 Verifying Checksum ... OK OK Starting kernel ... arg console=ttyS0,115200 root=/dev/mtdblock2 rw panic=5 BOOTVER=1.091 CONFIG_KUROBOX_PLATFORM CONFIG_KUROBOX_KUROBOX --- Uncompressing Linux................................................................................................................. done, booting the kernel. Linux version 2.6.12.6-arm1 (root@dev-hara) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #27 Tue Apr 10 22 47 16 JST 2007 CPU ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ) CPU0 D VIVT write-back cache CPU0 I cache 32768 bytes, associativity 1, 32 byte lines, 1024 sets CPU0 D cache 32768 bytes, associativity 1, 32 byte lines, 1024 sets Machine MV-88fxx81 Using UBoot passing parameters structure Sys Clk = 250000000, Tclk = 166664740 Memory policy ECC disabled, Data cache writeback Built 1 zonelists Kernel command line console=ttyS0,115200 root=/dev/mtdblock2 rw panic=5 BOOTVER=1.091 PID hash table entries 1024 (order 10, 16384 bytes) Console colour dummy device 80x30 Dentry cache hash table entries 32768 (order 5, 131072 bytes) Inode-cache hash table entries 16384 (order 4, 65536 bytes) Memory 128MB 0MB 0MB 0MB = 128MB total Memory 126208KB available (3037K code, 426K data, 112K init) Mount-cache hash table entries 512 CPU Testing write buffer coherency ok NET Registered protocol family 16 serial_initialize_ttyS1 (Debug) ttyS1 is initialized. config_device_cs Error Unknown board CPU Interface ------------- SDRAM_CS0 ....base 00000000, size 128MB SDRAM_CS1 ....disable SDRAM_CS2 ....disable SDRAM_CS3 ....disable PEX0_MEM ....base e0000000, size 128MB PEX0_IO ....base f2000000, size 1MB PCI0_MEM ....base e8000000, size 128MB PCI0_IO ....base f2100000, size 1MB INTER_REGS ....base f1000000, size 1MB DEVICE_CS0 ....base fa000000, size 2MB DEVICE_CS1 ....base f4000000, size 32MB DEVICE_CS2 ....base fa800000, size 1MB DEV_BOOCS ....base ff800000, size 8MB CRYPTO ENG ....no such Flash bankwidth 1, base ff800000, size 400000 KUROBOX FLASH size 4096[KB] Marvell Development Board (LSP Version 1.10.3.patch5_DB_NAS)-- KUROBOX_BOARD_KUROBOX Soc 88F5182 A2 Detected Tclk 166664740 and SysClk 250000000 Marvell USB EHCI Host controller #0 c04e4b00 Marvell USB EHCI Host controller #1 c04e4a40 pexBarOverlapDetect winNum 2 overlap current 0 mvPexInit Warning Bar 2 size is illigal it will be disabled please check Pex and CPU windows configuration PCI bus0 Fast back to back transfers enabled PCI bus1 Fast back to back transfers enabled SCSI subsystem initialized usbcore registered new driver usbfs usbcore registered new driver hub Use the XOR engines (offloading) for enhancing the following functions o RAID 5 Xor calculation o kernel memcpy o kenrel memzero o copy user to/from kernel buffers Number of XOR engines to use 2 cesadev_init(c00122e4) Fast Floating Point Emulator V0.9 (c) Peter Teichmann. inotify device minor=63 JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. SGI XFS with no debug enabled Serial 8250/16550 driver $Revision 1.90 $ 4 ports, IRQ sharing disabled ttyS0 at MMIO 0x0 (irq = 3) is a 16550A ttyS1 at MMIO 0x0 (irq = 4) is a 16550A io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered RAMDISK driver initialized 3 RAM disks of 32768K size 1024 blocksize loop loaded (max 8 devices) Marvell Gigabit Ethernet Driver egiga o Ethernet descriptors in DRAM o DRAM SW cache-coherency o Checksum offload enabled o Loading network interface ** egiga_init_module (10) eth0 Intergrated Sata device found scsi0 Marvell SCSI to SATA adapter scsi1 Marvell SCSI to SATA adapter Vendor Hitachi Model HTS542525K9SA00 Rev BBFO Type Direct-Access ANSI SCSI revision 03 SCSI device sda 488397168 512-byte hdwr sectors (250059 MB) SCSI device sda drive cache write back SCSI device sda 488397168 512-byte hdwr sectors (250059 MB) SCSI device sda drive cache write back sda Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 physmap flash device 400000 at ff800000 Found SST 39LF020 phys_mapped_flash Found 1 x8 devices at 0x0 in 8-bit bank number of JEDEC chips 1 cfi_cmdset_0002 Disabling erase-suspend-program due to code brokenness. RedBoot partition parsing not available Debug nand_scan nand_flash_ids[i].pagesize is exist Debug nand_scan mtd- erasesize=0x00020000 Debug nand_scan mtd- oobblock=0x00000800 Debug nand_scan mtd- oobsize=0x00000040 NAND device Manufacturer ID 0x20, Chip ID 0xda (ST Micro NAND 256MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 854 at 0x06ac0000 Using static partition definition Creating 3 MTD partitions on "nand_mtd" 0x00000000-0x00400000 "uImage" 0x00400000-0x04400000 "rootfs" 0x04400000-0x10000000 "extra" usbmon debugs is not available ehci_platform ehci_platform.4523 EHCI Host Controller ehci_platform ehci_platform.4523 new USB bus registered, assigned bus number 1 ehci_platform ehci_platform.4523 irq 17, io mem 0x00000000 ehci_platform ehci_platform.4523 park 0 ehci_platform ehci_platform.4523 USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004 hub 1-0 1.0 USB hub found hub 1-0 1.0 1 port detected ehci_platform ehci_platform.16781 EHCI Host Controller ehci_platform ehci_platform.16781 new USB bus registered, assigned bus number 2 ehci_platform ehci_platform.16781 irq 12, io mem 0x00000000 ehci_platform ehci_platform.16781 park 0 ehci_platform ehci_platform.16781 USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004 hub 2-0 1.0 USB hub found hub 2-0 1.0 1 port detected USB Universal Host Controller Interface driver v2.2 Initializing USB Mass Storage driver... usbcore registered new driver usb-storage USB Mass Storage support registered. usbcore registered new driver usbhid drivers/usb/input/hid-core.c v2.01 USB HID core driver mice PS/2 mouse device common for all mice md raid0 personality registered as nr 2 md raid1 personality registered as nr 3 md raid5 personality registered as nr 4 raid5 measuring checksumming speed arm4regs 304.000 MB/sec 8regs 215.200 MB/sec 32regs 249.200 MB/sec raid5 using function arm4regs (304.000 MB/sec) md md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27 Buffalo Platform Linux Driver(Light) 0.01 installed. MICON ctrl (C) BUFFALO INC. V.1.00 installed. Kernel event proc (C) BUFFALO INC. V.1.00 installed. MICON V2 (C) BUFFALO INC. V.1.00 installed. NET Registered protocol family 2 IP routing cache hash table of 1024 buckets, 8Kbytes TCP established hash table entries 8192 (order 4, 65536 bytes) TCP bind hash table entries 8192 (order 3, 32768 bytes) TCP Hash tables configured (established 8192 bind 8192) NET Registered protocol family 1 NET Registered protocol family 17 md Autodetecting RAID arrays. md autorun ... md ... autorun DONE. Empty flash at 0x00df85f8 ends at 0x00df8800 VFS Mounted root (jffs2 filesystem). Freeing init memory 112K --- rcStart (NANDroot) --- ===== Starting MountSystemFolders ===== mounting procfs ... [Success] mounting sysfs ... [Success] mouting usbfs ... [Success] remouting rootfs ... [Success] mounting all devices ... [Success] ===== Starting checkroot.sh ===== rm /var/lock/perfmon is a directory rm /var/lock/printing is a directory rm /var/lock/subsys is a directory [Success] ===== Starting Kevent.sh ===== [Success] ===== Starting mount_share.sh ===== Mounting /dev/sda on /mnt/disk1 as a xfs file system. XFS bad magic number XFS SB validate failed mount Mounting /dev/sda on /mnt/disk1 failed Invalid argument Failed. Mounting /dev/sda on /mnt/disk1 as a ext3 file system. mount Mounting /dev/sda on /mnt/disk1 failed Invalid argument Failed. Mounting /dev/mtd3 on /mnt/mtd as a jffs2 file system. Success. [Success] ===== Starting sethostname.sh ===== hostname is setted to KUROBOX-PRO [Success] ===== Starting networking.sh ===== create network files.. IP=[dhcp], netmask=[], dgw=[], dns1=[], dns2=[] killall dhcpcd no process killed route SIOC[ADD|DEL]RT No such process Configuration network interface lo eth0 requesting DHCP tout=30[s] eth0 link down eth0 link up 5 , full duplex 5 , speed 100 Mbps 5 /etc/dhcpc/dhcpcd.exe /etc/dhcpc/dhcpcd-eth0.info up dhcpcd.exe interface eth0 has been configured with old IP=192.168.3.50 hostname is setted to KUROBOX-PRO [Success] ===== Starting httpd.sh ===== [Success] ===== Starting telnet.sh ===== [Success] ===== Starting inetd.sh ===== [Success] ===== Starting smb.sh ===== $Starting SMB services $Starting NMB services [Success] ===== Starting clientUtil_servd.sh ===== Starting clientUtil_server starting on eth0 [Success] ===== Starting bootcomplete.sh ===== [Success] ===== Starting FanController.sh ===== [Success] ===== Starting boss.sh ===== ... .. -~~(~~ .~ shDBDhz+(-. .~+sDDBNBDhhszDBNNNNBNNNBDs - ~sBNNNNNNNNNNNNNNNNNNNNNNNNNBs -=DNNBNNNNNNNNNNNNNNNNNBNNNNNNNNBz .~zNNNNNNNNNNNNNNNNNNNNNNNNNNBNNNNNNNz~ ~hBNNNNBNNNNNNNNNNNNNNNNNNNNNNNNNNNNNND+ (hNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNBs- .~zNNNNNNNNNNNNNNNNNNNNNNNBNNNNNNBNNBNNNNNNBs ~sBNNNNNNNNNNNNNNNNNNNNNNNNNNNNBNNNNNNNNNNNNNz (+DNNNNNNNNNNNNNNNNNNNNNNDzNNNNNhzDNNBNNNNNNNNBs (sNNNNNNNNNNNNNNNNNNNNNNB=~hNNNN=~(sDNNNNNNNNNND (+DNNNNNNNNNNNNNNNNNNNNNNs .=NNNNz- (zDNNNNNNNNNz ~=BNNNNNNNNNNNNNNNNNNNNND- .=BNNNN . .(hNNNNNNNNB ~sNNNNNNNNNNNNNNNNNNNNND+. .+BNNNN+ ~sBNNNNNNN (zNNNNNNNNNNNNNNNNNNNNND ..+BNBNB=- .+BNNNNNNh (zNNNNNNNNNNNNNNNNNNNBB= . hNBBNs+- +DNNNBND (sNNNNNNNNNNNNNNNNNNNND( -DhDBN+ - . =NNNNNB ~+DNNBNNNNNNNNNNNNNNNNz =D=Dhh+( . ~DBNNNB ~(sNNNNNNNNNNNNNNNNNNNz. -hs(zz+ ( . .=NNNNN ~=NNBBBBNNNNNNNNNNNNB= ==-=+s((~. .~BNNNB ~=Nhs +++hNNNNNNNNBz - .~=-.s(+-(- hBNND =Ds+hz( ~hNNNNNNND+ ..-+ .-((( ~ ... -hNNNNDs ~+z(BN=. . BNNNNBhhDD=+ ~. ~-=shBBDhz+( -sBNNNBBNBz ~(=z(BD- ~~hBNNNs~-( zDDs+~(shzssszDBNDh= sBNNNNNNNBN ~~+s z=.-zh~sNNND . . zhhh==shDBNNNNNNNBDDNNNNNNNNNh ~~ ss+ .zBBs~zND+ ..-+zDBNNNNNNNNNNNhzNNNNNNNNND+ ~~(=h +DBz-sBs~ . (BBNNNNNNNNNz- BBNNBNNND= ~(~ zss(( (z sD+ ~DNNNNNNNNNz~ sNNNNNNDs ~(=Ds= ...-(h . . .. BNNNNNNNNz~ -hNNNBh ~(hNs(. =- .=BNNNNNBNs- .(hs== BNz~ . .(hBNNBDz .~ - -hNNh(. .. . (++~ . - . hBNB+ -+( . .- . zDNz( . ~+ - .. . .-. ..~(-. . . .~+(. .. -- . . . + ~ ~. ..... .- . ---(~~~( ~. .. . .((--- -~~(~ . . +s=(- -(+. Let s start a KURO-BOX! .... .(hBDzDD=. and have a fun time... .. .. . sDh+. . .. . ..-- . .. .. ... ....... . . .. .. - .. ... [Success] KUROUTOSHIKOU KUROBOX Series KUROBOX/PRO(KOSHO) KUROBOX-PRO login root, kuroadminでログイン sdaとして識別されている新しい2.5inchのHDDでパーティションを作成する BusyBox v1.1.1 (2007.04.06-12 02+0000) Built-in shell (ash) Enter help for a list of built-in commands. ~ # fdisk /dev/sda The number of cylinders for this disk is set to 30401. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help) n Command action e extended p primary partition (1-4) p Partition number (1-4) 1 First cylinder (1-30401, default 1) Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-30401, default 30401) Using default value 30401 Command (m for help) w The partition table has been altered! Calling ioctl() to re-read partition table. SCSI device sda 488397168 512-byte hdwr sectors (250059 MB) SCSI device sda drive cache write back sda sda1 SCSI device sda 488397168 512-byte hdwr sectors (250059 MB) SCSI device sda drive cache write back sda sda1 Syncing disks. 次にファイルシステムの作成 ~ # mkfs.ext2 /dev/sda1 mke2fs 1.27 (8-Mar-2002) Filesystem label= OS type Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 30539776 inodes, 61049000 blocks 3052450 blocks (5.00%) reserved for the super user First data block=0 1864 block groups 32768 blocks per group, 32768 fragments per group 16384 inodes per group Superblock backups stored on blocks 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872 Writing inode tables done Writing superblocks and filesystem accounting information done This filesystem will be automatically checked every 35 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. 続いてマウントして必要なファイルを取得 ~ # mount -t ext2 /dev/sda1 /mnt/disk1 ~ # cd /mnt/disk1 /mnt/disk1 # wget http //ftp.jp.debian.org/debian/dists/wheezy/main/installer-ar mel/current/images/orion5x/network-console/buffalo/kuroboxpro/config-debian wget ftp.jp.debian.org Unknown host と思いきや Unknown Host、、、あれ?ネットワークつながっていない?名前解決できていないのかな? 他の参考サイトではnsswitch.confを書き換えていたので試してみる。 /mnt/disk1 # vi /etc/nsswitch.conf hosts files ↓dnsを追加 hosts files dns で再起動 /mnt/disk1 # reboot /mnt/disk1 # ----- rcDown ----- ===== Starting shutdown_start.sh ===== [Success] ===== Starting shutdown_proc.sh ===== ===== Starting clientUtil_servd.sh ===== Stop clientUtil_server [Success] ===== Starting smb.sh ===== $Shutting down SMB services killall Could not kill pid 658 No such process $Shutting down NMB services [Failed ] ===== Starting networking.sh ===== Deconfiguration network interface lo eth0 killall dhcpcd no process killed [Success] ===== Starting Kevent.sh ===== [Success] ===== Starting FanController.sh ===== Stopping a fan ........... [Success] [Success] ===== Starting umount_disk.sh ===== [Success] The system is going down NOW !! Sending SIGTERM to all processes. Sending SIPlease stand by while rebooting the system. md stopping all md devices. md md0 switched to read-only mode. Synchronizing SCSI cache for disk sda Restarting system. Orion1 CPU = Low === KURO U-Boot. === ** LOADER ** ** KUROBOX BOARD KURO_BOX LE (CFG_ENV_ADDR=fffff000) U-Boot 1.1.1 (Apr 10 2007 - 18 10 08) Marvell version 1.12.1 - TINY DRAM CS[0] base 0x00000000 size 128MB DRAM Total size 128MB [256kB@fffc0000] Flash 256 kB Addresses 20M - 0M are saved for the U-Boot usage. Mem malloc Initialization (20M - 16M) Done NAND 256 MB Soc 88F5182 A2 CPU ARM926 (Rev 0) running @ 500Mhz Orion 1 streaming disabled SysClock = 250Mhz , TClock = 166Mhz USB 0 host mode USB 1 host mode PCI 0 PCI Express Root Complex Interface PCI 1 Conventional PCI, speed = 33000000 Net egiga0 [PRIME] Using 88E1118 phy hit any key to switch tftp boot. Hit any key to stop autoboot 0 system_bootend Hit any key to stop autoboot 3 またここでEnteryキーでストップ お決まりの5行を入力 Marvell setenv bootargs_root root=/dev/mtdblock2 rw panic=5 Marvell setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver) Marvell setenv bootcmd nboot $(default_kernel_addr) 0 $(nand_uImage_offset) ;setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver); bootm $(default_kernel_addr) Marvell setenv nand_boot yes Marvell boot Loading from device 0 NULL at 0xfa000000 (offset 0x20000) Image Name Linux-2.6.12.6-arm1 Created 2007-04-10 13 45 13 UTC Image Type ARM Linux Kernel Image (uncompressed) Data Size 1736548 Bytes = 1.7 MB Load Address 00008000 Entry Point 00008000 stop_sound ## Booting image at 00100000 ... Image Name Linux-2.6.12.6-arm1 Created 2007-04-10 13 45 13 UTC Image Type ARM Linux Kernel Image (uncompressed) Data Size 1736548 Bytes = 1.7 MB Load Address 00008000 Entry Point 00008000 Verifying Checksum ... OK OK Starting kernel ... arg console=ttyS0,115200 root=/dev/mtdblock2 rw panic=5 BOOTVER=1.091 CONFIG_KUROBOX_PLATFORM CONFIG_KUROBOX_KUROBOX --- Uncompressing Linux................................................................................................................. done, booting the kernel. Linux version 2.6.12.6-arm1 (root@dev-hara) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #27 Tue Apr 10 22 47 16 JST 2007 CPU ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ) CPU0 D VIVT write-back cache CPU0 I cache 32768 bytes, associativity 1, 32 byte lines, 1024 sets CPU0 D cache 32768 bytes, associativity 1, 32 byte lines, 1024 sets Machine MV-88fxx81 Using UBoot passing parameters structure Sys Clk = 250000000, Tclk = 166664740 Memory policy ECC disabled, Data cache writeback Built 1 zonelists Kernel command line console=ttyS0,115200 root=/dev/mtdblock2 rw panic=5 BOOTVER=1.091 PID hash table entries 1024 (order 10, 16384 bytes) Console colour dummy device 80x30 Dentry cache hash table entries 32768 (order 5, 131072 bytes) Inode-cache hash table entries 16384 (order 4, 65536 bytes) Memory 128MB 0MB 0MB 0MB = 128MB total Memory 126208KB available (3037K code, 426K data, 112K init) Mount-cache hash table entries 512 CPU Testing write buffer coherency ok NET Registered protocol family 16 serial_initialize_ttyS1 (Debug) ttyS1 is initialized. config_device_cs Error Unknown board CPU Interface ------------- SDRAM_CS0 ....base 00000000, size 128MB SDRAM_CS1 ....disable SDRAM_CS2 ....disable SDRAM_CS3 ....disable PEX0_MEM ....base e0000000, size 128MB PEX0_IO ....base f2000000, size 1MB PCI0_MEM ....base e8000000, size 128MB PCI0_IO ....base f2100000, size 1MB INTER_REGS ....base f1000000, size 1MB DEVICE_CS0 ....base fa000000, size 2MB DEVICE_CS1 ....base f4000000, size 32MB DEVICE_CS2 ....base fa800000, size 1MB DEV_BOOCS ....base ff800000, size 8MB CRYPTO ENG ....no such Flash bankwidth 1, base ff800000, size 400000 KUROBOX FLASH size 4096[KB] Marvell Development Board (LSP Version 1.10.3.patch5_DB_NAS)-- KUROBOX_BOARD_KUROBOX Soc 88F5182 A2 Detected Tclk 166664740 and SysClk 250000000 Marvell USB EHCI Host controller #0 c04e4b00 Marvell USB EHCI Host controller #1 c04e4a40 pexBarOverlapDetect winNum 2 overlap current 0 mvPexInit Warning Bar 2 size is illigal it will be disabled please check Pex and CPU windows configuration PCI bus0 Fast back to back transfers enabled PCI bus1 Fast back to back transfers enabled SCSI subsystem initialized usbcore registered new driver usbfs usbcore registered new driver hub Use the XOR engines (offloading) for enhancing the following functions o RAID 5 Xor calculation o kernel memcpy o kenrel memzero o copy user to/from kernel buffers Number of XOR engines to use 2 cesadev_init(c00122e4) Fast Floating Point Emulator V0.9 (c) Peter Teichmann. inotify device minor=63 JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. SGI XFS with no debug enabled Serial 8250/16550 driver $Revision 1.90 $ 4 ports, IRQ sharing disabled ttyS0 at MMIO 0x0 (irq = 3) is a 16550A ttyS1 at MMIO 0x0 (irq = 4) is a 16550A io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered RAMDISK driver initialized 3 RAM disks of 32768K size 1024 blocksize loop loaded (max 8 devices) Marvell Gigabit Ethernet Driver egiga o Ethernet descriptors in DRAM o DRAM SW cache-coherency o Checksum offload enabled o Loading network interface ** egiga_init_module (10) eth0 Intergrated Sata device found scsi0 Marvell SCSI to SATA adapter scsi1 Marvell SCSI to SATA adapter Vendor Hitachi Model HTS542525K9SA00 Rev BBFO Type Direct-Access ANSI SCSI revision 03 SCSI device sda 488397168 512-byte hdwr sectors (250059 MB) SCSI device sda drive cache write back SCSI device sda 488397168 512-byte hdwr sectors (250059 MB) SCSI device sda drive cache write back sda sda1 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 physmap flash device 400000 at ff800000 Found SST 39LF020 phys_mapped_flash Found 1 x8 devices at 0x0 in 8-bit bank number of JEDEC chips 1 cfi_cmdset_0002 Disabling erase-suspend-program due to code brokenness. RedBoot partition parsing not available Debug nand_scan nand_flash_ids[i].pagesize is exist Debug nand_scan mtd- erasesize=0x00020000 Debug nand_scan mtd- oobblock=0x00000800 Debug nand_scan mtd- oobsize=0x00000040 NAND device Manufacturer ID 0x20, Chip ID 0xda (ST Micro NAND 256MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 854 at 0x06ac0000 Using static partition definition Creating 3 MTD partitions on "nand_mtd" 0x00000000-0x00400000 "uImage" 0x00400000-0x04400000 "rootfs" 0x04400000-0x10000000 "extra" usbmon debugs is not available ehci_platform ehci_platform.4523 EHCI Host Controller ehci_platform ehci_platform.4523 new USB bus registered, assigned bus number 1 ehci_platform ehci_platform.4523 irq 17, io mem 0x00000000 ehci_platform ehci_platform.4523 park 0 ehci_platform ehci_platform.4523 USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004 hub 1-0 1.0 USB hub found hub 1-0 1.0 1 port detected ehci_platform ehci_platform.16781 EHCI Host Controller ehci_platform ehci_platform.16781 new USB bus registered, assigned bus number 2 ehci_platform ehci_platform.16781 irq 12, io mem 0x00000000 ehci_platform ehci_platform.16781 park 0 ehci_platform ehci_platform.16781 USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004 hub 2-0 1.0 USB hub found hub 2-0 1.0 1 port detected USB Universal Host Controller Interface driver v2.2 Initializing USB Mass Storage driver... usbcore registered new driver usb-storage USB Mass Storage support registered. usbcore registered new driver usbhid drivers/usb/input/hid-core.c v2.01 USB HID core driver mice PS/2 mouse device common for all mice md raid0 personality registered as nr 2 md raid1 personality registered as nr 3 md raid5 personality registered as nr 4 raid5 measuring checksumming speed arm4regs 304.000 MB/sec 8regs 215.200 MB/sec 32regs 249.200 MB/sec raid5 using function arm4regs (304.000 MB/sec) md md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27 Buffalo Platform Linux Driver(Light) 0.01 installed. MICON ctrl (C) BUFFALO INC. V.1.00 installed. Kernel event proc (C) BUFFALO INC. V.1.00 installed. MICON V2 (C) BUFFALO INC. V.1.00 installed. NET Registered protocol family 2 IP routing cache hash table of 1024 buckets, 8Kbytes TCP established hash table entries 8192 (order 4, 65536 bytes) TCP bind hash table entries 8192 (order 3, 32768 bytes) TCP Hash tables configured (established 8192 bind 8192) NET Registered protocol family 1 NET Registered protocol family 17 md Autodetecting RAID arrays. md autorun ... md ... autorun DONE. Empty flash at 0x00df85f8 ends at 0x00df8800 VFS Mounted root (jffs2 filesystem). Freeing init memory 112K --- rcStart (NANDroot) --- ===== Starting MountSystemFolders ===== mounting procfs ... [Success] mounting sysfs ... [Success] mouting usbfs ... [Success] remouting rootfs ... [Success] mounting all devices ... [Success] ===== Starting checkroot.sh ===== rm /var/lock/perfmon is a directory rm /var/lock/printing is a directory rm /var/lock/subsys is a directory [Success] ===== Starting Kevent.sh ===== [Success] ===== Starting mount_share.sh ===== Mounting /dev/sda1 on /mnt/disk1 as a xfs file system. XFS bad magic number XFS SB validate failed mount Mounting /dev/sda1 on /mnt/disk1 failed Invalid argument Failed. Mounting /dev/sda1 on /mnt/disk1 as a ext3 file system. mount Mounting /dev/sda1 on /mnt/disk1 failed Invalid argument Failed. Mounting /dev/mtd3 on /mnt/mtd as a jffs2 file system. Success. [Success] ===== Starting sethostname.sh ===== hostname is setted to KUROBOX-PRO [Success] ===== Starting networking.sh ===== create network files.. IP=[dhcp], netmask=[], dgw=[], dns1=[], dns2=[] killall dhcpcd no process killed route SIOC[ADD|DEL]RT No such process Configuration network interface lo eth0 requesting DHCP tout=30[s] eth0 link down eth0 link up 5 , full duplex 5 , speed 100 Mbps 5 /etc/dhcpc/dhcpcd.exe /etc/dhcpc/dhcpcd-eth0.info up dhcpcd.exe interface eth0 has been configured with old IP=192.168.3.50 hostname is setted to KUROBOX-PRO [Success] ===== Starting httpd.sh ===== [Success] ===== Starting telnet.sh ===== [Success] ===== Starting inetd.sh ===== [Success] ===== Starting smb.sh ===== $Starting SMB services $Starting NMB services [Success] ===== Starting clientUtil_servd.sh ===== Starting clientUtil_server starting on eth0 [Success] ===== Starting bootcomplete.sh ===== [Success] ===== Starting FanController.sh ===== [Success] ===== Starting boss.sh ===== ... .. -~~(~~ .~ shDBDhz+(-. .~+sDDBNBDhhszDBNNNNBNNNBDs - ~sBNNNNNNNNNNNNNNNNNNNNNNNNNBs -=DNNBNNNNNNNNNNNNNNNNNBNNNNNNNNBz .~zNNNNNNNNNNNNNNNNNNNNNNNNNNBNNNNNNNz~ ~hBNNNNBNNNNNNNNNNNNNNNNNNNNNNNNNNNNNND+ (hNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNBs- .~zNNNNNNNNNNNNNNNNNNNNNNNBNNNNNNBNNBNNNNNNBs ~sBNNNNNNNNNNNNNNNNNNNNNNNNNNNNBNNNNNNNNNNNNNz (+DNNNNNNNNNNNNNNNNNNNNNNDzNNNNNhzDNNBNNNNNNNNBs (sNNNNNNNNNNNNNNNNNNNNNNB=~hNNNN=~(sDNNNNNNNNNND (+DNNNNNNNNNNNNNNNNNNNNNNs .=NNNNz- (zDNNNNNNNNNz ~=BNNNNNNNNNNNNNNNNNNNNND- .=BNNNN . .(hNNNNNNNNB ~sNNNNNNNNNNNNNNNNNNNNND+. .+BNNNN+ ~sBNNNNNNN (zNNNNNNNNNNNNNNNNNNNNND ..+BNBNB=- .+BNNNNNNh (zNNNNNNNNNNNNNNNNNNNBB= . hNBBNs+- +DNNNBND (sNNNNNNNNNNNNNNNNNNNND( -DhDBN+ - . =NNNNNB ~+DNNBNNNNNNNNNNNNNNNNz =D=Dhh+( . ~DBNNNB ~(sNNNNNNNNNNNNNNNNNNNz. -hs(zz+ ( . .=NNNNN ~=NNBBBBNNNNNNNNNNNNB= ==-=+s((~. .~BNNNB ~=Nhs +++hNNNNNNNNBz - .~=-.s(+-(- hBNND =Ds+hz( ~hNNNNNNND+ ..-+ .-((( ~ ... -hNNNNDs ~+z(BN=. . BNNNNBhhDD=+ ~. ~-=shBBDhz+( -sBNNNBBNBz ~(=z(BD- ~~hBNNNs~-( zDDs+~(shzssszDBNDh= sBNNNNNNNBN ~~+s z=.-zh~sNNND . . zhhh==shDBNNNNNNNBDDNNNNNNNNNh ~~ ss+ .zBBs~zND+ ..-+zDBNNNNNNNNNNNhzNNNNNNNNND+ ~~(=h +DBz-sBs~ . (BBNNNNNNNNNz- BBNNBNNND= ~(~ zss(( (z sD+ ~DNNNNNNNNNz~ sNNNNNNDs ~(=Ds= ...-(h . . .. BNNNNNNNNz~ -hNNNBh ~(hNs(. =- .=BNNNNNBNs- .(hs== BNz~ . .(hBNNBDz .~ - -hNNh(. .. . (++~ . - . hBNB+ -+( . .- . zDNz( . ~+ - .. . .-. ..~(-. . . .~+(. .. -- . . . + ~ ~. ..... .- . ---(~~~( ~. .. . .((--- -~~(~ . . +s=(- -(+. Let s start a KURO-BOX! .... .(hBDzDD=. and have a fun time... .. .. . sDh+. . .. . ..-- . .. .. ... ....... . . .. .. - .. ... [Success] KUROUTOSHIKOU KUROBOX Series KUROBOX/PRO(KOSHO) KUROBOX-PRO login root Password login[782] root login on `ttyS0 BusyBox v1.1.1 (2007.04.06-12 02+0000) Built-in shell (ash) Enter help for a list of built-in commands. ~ # mount -t ext2 /dev/sda1 /mnt/disk1 EXT2-fs warning mounting unchecked fs, running e2fsck is recommended ~ # cd /mnt/disk1 /mnt/disk1 # ls -l -rw-r--r-- 1 root root 0 Mar 10 13 00 config-debian drwx------ 2 root root 16384 Mar 10 13 00 lost+found 警告が出ているけど気にしない。 さっき失敗した必要なファイルのwgetを実行してみる。 /mnt/disk1 # wget http //ftp.jp.debian.org/debian/dists/wheezy/main/installer-armel/current/images/orion5x/network-console/buffalo/kuroboxpro/config-debian Connecting to ftp.jp.debian.org[203.178.137.175] 80 config-debian 100% |*****************************| 1535 00 00 ETA /mnt/disk1 # wget http //ftp.jp.debian.org/debian/dists/wheezy/main/installer-armel/current/images/orion5x/network-console/buffalo/kuroboxpro/initrd.buffalo Connecting to ftp.jp.debian.org[203.178.137.175] 80 initrd.buffalo 100% |*****************************| 5035 KB 00 00 ETA /mnt/disk1 # wget http //ftp.jp.debian.org/debian/dists/wheezy/main/installer-armel/current/images/orion5x/network-console/buffalo/kuroboxpro/uImage.buffalo Connecting to ftp.jp.debian.org[203.178.137.175] 80 uImage.buffalo 100% |*****************************| 1450 KB 00 00 ETA いけた では早速セットアップへ /mnt/disk1 # sh config-debian Saving U-Boot environment to ubootenv.bak... done. Changing U-Boot environment... nvram_set bootcmd = ide reset; ext2load ide 0 1 $(default_kernel_addr) /$(kernel); ext2load ide 0 1 $(default_initrd_addr) /$(initrd); setenv bootargs $(bootargs_base); bootm $(default_kernel_addr) $(default_initrd_addr) done. Please reboot your Kurobox Pro. nvram使って書き換えればシリアルコンソール要らないのか… では再起動 nvramで書き換えられたので今度はストップが要らないので気楽に待つ。 /mnt/disk1 # reboot /mnt/disk1 # ----- rcDown ----- ===== Starting shutdown_start.sh ===== [Success] ===== Starting shutdown_proc.sh ===== ===== Starting clientUtil_servd.sh ===== Stop clientUtil_server [Success] ===== Starting smb.sh ===== $Shutting down SMB services $Shutting down NMB services [Success] ===== Starting networking.sh ===== Deconfiguration network interface lo eth0 killall dhcpcd no process killed [Success] ===== Starting Kevent.sh ===== [Success] ===== Starting FanController.sh ===== Stopping a fan ........... [Success] [Success] ===== Starting umount_disk.sh ===== [Success] The system is going down NOW !! Sending SIGTERM to all processes. Sending SIPlease stand by while rebooting the system. md stopping all md devices. md md0 switched to read-only mode. Synchronizing SCSI cache for disk sda Restarting system. Orion1 CPU = Low === KURO U-Boot. === ** LOADER ** ** KUROBOX BOARD KURO_BOX LE (CFG_ENV_ADDR=fffff000) U-Boot 1.1.1 (Apr 10 2007 - 18 10 08) Marvell version 1.12.1 - TINY DRAM CS[0] base 0x00000000 size 128MB DRAM Total size 128MB [256kB@fffc0000] Flash 256 kB Addresses 20M - 0M are saved for the U-Boot usage. Mem malloc Initialization (20M - 16M) Done NAND 256 MB Soc 88F5182 A2 CPU ARM926 (Rev 0) running @ 500Mhz Orion 1 streaming disabled SysClock = 250Mhz , TClock = 166Mhz USB 0 host mode USB 1 host mode PCI 0 PCI Express Root Complex Interface PCI 1 Conventional PCI, speed = 33000000 Net egiga0 [PRIME] Using 88E1118 phy hit any key to switch tftp boot. Hit any key to stop autoboot 2 1 0 system_bootend Hit any key to stop autoboot 3 2 1 0 Reset IDE Marvell Serial ATA Adapter Integrated Sata device found Device 0 OK Model Hitachi HTS542525K9SA00 Firm BBFOC31P Ser# 080422BB6F00WDDDBT6G Type Hard Disk Supports 48-bit addressing Capacity 238475.1 MB = 232.8 GB (488397168 x 512) Using device ide0, partition 1 Loading from block device ide device 0, partition 1 Name hda1 Type U-Boot File /uImage.buffalo 1485560 bytes read Using device ide0, partition 1 Loading from block device ide device 0, partition 1 Name hda1 Type U-Boot File /initrd.buffalo 5156040 bytes read stop_sound ## Booting image at 00100000 ... Image Name Debian kernel Created 2015-01-05 9 34 29 UTC Image Type ARM Linux Kernel Image (uncompressed) Data Size 1485496 Bytes = 1.4 MB Load Address 00008000 Entry Point 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 02000000 ... Image Name debian-installer ramdisk Created 2015-01-05 9 34 30 UTC Image Type ARM Linux RAMDisk Image (gzip compressed) Data Size 5155976 Bytes = 4.9 MB Load Address 02000000 Entry Point 02000000 Verifying Checksum ... OK Starting kernel ... arg console=ttyS0,115200 Uncompressing Linux... done, booting the kernel. [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.2.0-4-orion5x (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 Debian 3.2.65-1 [ 0.000000] CPU Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a0053177 [ 0.000000] CPU VIVT data cache, VIVT instruction cache [ 0.000000] Machine Buffalo/Revogear Kurobox Pro [ 0.000000] Clearing invalid memory bank 0KB@0xffffffff [ 0.000000] Clearing invalid memory bank 0KB@0xffffffff [ 0.000000] Clearing invalid memory bank 0KB@0xffffffff [ 0.000000] Ignoring unrecognised tag 0x00000000 [ 0.000000] Ignoring unrecognised tag 0x00000000 [ 0.000000] Ignoring unrecognised tag 0x00000000 [ 0.000000] Ignoring unrecognised tag 0x41000403 [ 0.000000] Memory policy ECC disabled, Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages 32512 [ 0.000000] Kernel command line console=ttyS0,115200 [ 0.000000] PID hash table entries 512 (order -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries 16384 (order 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries 8192 (order 3, 32768 bytes) [ 0.000000] Memory 128MB = 128MB total [ 0.000000] Memory 120408k/120408k available, 10664k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout [ 0.000000] vector 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc 0xc8800000 - 0xfd800000 ( 848 MB) [ 0.000000] lowmem 0xc0000000 - 0xc8000000 ( 128 MB) [ 0.000000] modules 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text 0xc0008000 - 0xc039c088 (3665 kB) [ 0.000000] .init 0xc039d000 - 0xc03c0000 ( 140 kB) [ 0.000000] .data 0xc03c0000 - 0xc03f9fc0 ( 232 kB) [ 0.000000] .bss 0xc03f9fe4 - 0xc045ca7c ( 395 kB) [ 0.000000] NR_IRQS 64 [ 0.000000] sched_clock 32 bits at 166MHz, resolution 5ns, wraps every 25769ms [ 0.000000] Console colour dummy device 80x30 [ 12.137424] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) [ 12.207116] pid_max default 32768 minimum 301 [ 12.207429] Security Framework initialized [ 12.207612] Mount-cache hash table entries 512 [ 12.208337] Initializing cgroup subsys cpuacct [ 12.208386] Initializing cgroup subsys memory [ 12.208447] Initializing cgroup subsys devices [ 12.208479] Initializing cgroup subsys freezer [ 12.208509] Initializing cgroup subsys net_cls [ 12.208538] Initializing cgroup subsys blkio [ 12.208594] Initializing cgroup subsys perf_event [ 12.208780] CPU Testing write buffer coherency ok [ 12.211324] devtmpfs initialized [ 12.214771] print_constraints dummy [ 12.215226] NET Registered protocol family 16 [ 12.216750] Orion ID MV88F5182-A2. TCLK=166666667. [ 12.220449] Applying Orion-1/Orion-NAS PCIe config read transaction workaround [ 12.221209] PCI bus0 Fast back to back transfers disabled [ 12.227298] bio create slab bio-0 at 0 [ 12.228474] vgaarb loaded [ 12.230422] Switching to clocksource orion_clocksource [ 12.275838] NET Registered protocol family 2 [ 12.309253] IP route cache hash table entries 1024 (order 0, 4096 bytes) [ 12.311082] TCP established hash table entries 4096 (order 3, 32768 bytes) [ 12.311351] TCP bind hash table entries 4096 (order 2, 16384 bytes) [ 12.311497] TCP Hash tables configured (established 4096 bind 4096) [ 12.311529] TCP reno registered [ 12.311571] UDP hash table entries 256 (order 0, 4096 bytes) [ 12.311643] UDP-Lite hash table entries 256 (order 0, 4096 bytes) [ 12.312257] NET Registered protocol family 1 [ 12.312796] Unpacking initramfs... [ 13.580333] Freeing initrd memory 5032K [ 13.580367] NetWinder Floating Point Emulator V0.97 (double precision) [ 13.581885] audit initializing netlink socket (disabled) [ 13.581971] type=2000 audit(1.440 1) initialized [ 13.585681] VFS Disk quotas dquot_6.5.2 [ 13.585931] Dquot-cache hash table entries 1024 (order 0, 4096 bytes) [ 13.586223] msgmni has been set to 245 [ 13.587723] alg No test for stdrng (krng) [ 13.588000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 13.588042] io scheduler noop registered [ 13.588070] io scheduler deadline registered [ 13.588224] io scheduler cfq registered (default) [ 13.588469] mv_xor_shared mv_xor_shared.0 Marvell shared XOR driver [ 13.620611] mv_xor mv_xor.0 Marvell XOR ( xor cpy ) [ 13.660607] mv_xor mv_xor.1 Marvell XOR ( xor fill cpy ) [ 13.661638] Serial 8250/16550 driver, 2 ports, IRQ sharing disabled [ 13.683265] serial8250.0 ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A [ 14.110384] console [ttyS0] enabled [ 14.134756] serial8250.1 ttyS1 at MMIO 0xf1012100 (irq = 4) is a 16550A [ 14.143600] physmap platform flash device 00040000 at f4000000 [ 14.149754] Found SST 39LF020 [ 14.152909] physmap-flash.0 Found 1 x8 devices at 0x0 in 8-bit bank [ 14.159280] number of JEDEC chips 1 [ 14.193019] NAND device Manufacturer ID 0x20, Chip ID 0xda (ST Micro NAND 256MiB 3,3V 8-bit) [ 14.201822] Scanning device for bad blocks [ 14.238566] Bad eraseblock 854 at 0x000006ac0000 [ 14.300751] Creating 3 MTD partitions on "orion_nand" [ 14.305909] 0x000000000000-0x000000400000 "uImage" [ 14.313476] 0x000000400000-0x000004400000 "rootfs" [ 14.321188] 0x000004400000-0x000010000000 "extra" [ 14.330054] mousedev PS/2 mouse device common for all mice [ 14.336587] i2c /dev entries driver [ 14.344783] rtc-rs5c372 0-0032 rs5c372a found, 24hr, driver version 0.6 [ 14.356860] rtc-rs5c372 0-0032 rtc core registered rtc-rs5c372 as rtc0 [ 14.366220] TCP cubic registered [ 14.369459] NET Registered protocol family 17 [ 14.374013] Registering the dns_resolver key type [ 14.378787] VFP support v0.3 not present [ 14.384110] registered taskstats version 1 [ 14.390002] rtc-rs5c372 0-0032 setting system clock to 2015-03-10 13 08 56 UTC (1425992936) [ 14.398628] Initializing network drop monitor service [ 14.405299] Freeing init memory 140K [ 14.826405] mv643xx_eth MV-643xx 10/100/1000 ethernet driver version 1.4 [ 14.936417] mv643xx_eth smi probed [ 15.061986] mv643xx_eth_port mv643xx_eth_port.0 eth0 port 0 with MAC address XX XX XX XX XX XX [ 15.214283] usbcore registered new interface driver usbfs [ 15.219976] usbcore registered new interface driver hub [ 15.277235] SCSI subsystem initialized [ 15.283887] usbcore registered new device driver usb [ 15.292303] ehci_hcd USB 2.0 Enhanced Host Controller (EHCI) Driver [ 15.298959] orion-ehci orion-ehci.0 Marvell Orion EHCI [ 15.385903] orion-ehci orion-ehci.0 new USB bus registered, assigned bus number 1 [ 15.480681] orion-ehci orion-ehci.0 irq 17, io mem 0xf1050000 [ 15.501970] orion-ehci orion-ehci.0 USB 2.0 started, EHCI 1.00 [ 15.508052] usb usb1 New USB device found, idVendor=1d6b, idProduct=0002 [ 15.514915] usb usb1 New USB device strings Mfr=3, Product=2, SerialNumber=1 [ 15.522165] usb usb1 Product Marvell Orion EHCI [ 15.526876] usb usb1 Manufacturer Linux 3.2.0-4-orion5x ehci_hcd [ 15.533085] usb usb1 SerialNumber orion-ehci.0 [ 15.665815] hub 1-0 1.0 USB hub found [ 15.669602] hub 1-0 1.0 1 port detected [ 15.702305] sata_mv sata_mv.0 slots 32 ports 2 [ 15.741857] scsi0 sata_mv [ 15.764300] scsi1 sata_mv [ 15.767884] ata1 SATA max UDMA/133 irq 29 [ 15.772067] ata2 SATA max UDMA/133 irq 29 [ 15.800881] orion-ehci orion-ehci.1 Marvell Orion EHCI [ 15.806200] orion-ehci orion-ehci.1 new USB bus registered, assigned bus number 2 [ 15.860686] orion-ehci orion-ehci.1 irq 12, io mem 0xf10a0000 [ 15.880672] orion-ehci orion-ehci.1 USB 2.0 started, EHCI 1.00 [ 15.886761] usb usb2 New USB device found, idVendor=1d6b, idProduct=0002 [ 15.893624] usb usb2 New USB device strings Mfr=3, Product=2, SerialNumber=1 [ 15.900882] usb usb2 Product Marvell Orion EHCI [ 15.905592] usb usb2 Manufacturer Linux 3.2.0-4-orion5x ehci_hcd [ 15.911801] usb usb2 SerialNumber orion-ehci.1 [ 15.988111] hub 2-0 1.0 USB hub found [ 16.000727] hub 2-0 1.0 1 port detected [ 16.280569] ata1 SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 16.320626] ata1.00 ATA-8 Hitachi HTS542525K9SA00, BBFOC31P, max UDMA/133 [ 16.327593] ata1.00 488397168 sectors, multi 0 LBA48 NCQ (depth 31/32) [ 16.390642] ata1.00 configured for UDMA/133 [ 16.395692] scsi 0 0 0 0 Direct-Access ATA Hitachi HTS54252 BBFO PQ 0 ANSI 5 [ 16.750560] ata2 SATA link down (SStatus 0 SControl 300) [ 16.875256] sd 0 0 0 0 [sda] 488397168 512-byte logical blocks (250 GB/232 GiB) [ 16.886139] sd 0 0 0 0 [sda] Write Protect is off [ 16.891416] sd 0 0 0 0 [sda] Write cache enabled, read cache enabled, doesn t support DPO or FUA [ 17.271393] sda sda1 [ 17.277923] sd 0 0 0 0 [sda] Attached SCSI disk Starting system log daemon syslogd, klogd. mount mounting /dev/mtdblock2 on /tmp/oldsys-preseed/rootfs failed Input/output error umount can t umount /tmp/oldsys-preseed/rootfs Invalid argument 無事にセットアップが始まりました。 続きはDebian Wheezy Install
https://w.atwiki.jp/readynas/pages/17.html
概要 連動対応UPSリスト1. NETGEAR公認 2. NETGEAR非公認 基本設定 複数台のReadyNAS、もしくはPCを連動シャットダウンさせる場合 参考 概要 停電時に、対応UPSからの情報を元にReadyNASをシャットダウンさせ、突然の電源断によるデータ破損を防止する。 連動対応UPSリスト ただし、古いファームウェアの場合はこの通りとは限らない。 1. NETGEAR公認 「ReadyNASOS6シリーズ動作確認済みUPS一覧」参照。 「サポート情報」には「オムロン製UPSとの連動について」という項目があるので当該ユーザーはこちらも参照のこと。 2. NETGEAR非公認 保証がないのであくまで自己責任で。 CyberPower Backup BR 350 (CP350HG) CyberPower Backup BR 550 (CP550) 基本設定 1. 最新のファームウェアに更新しておく。 2. 対応UPSとReadyNASをUSBケーブルで接続。 3. UPSの型番やバッテリー残量が表示されれば連携できている。 4.2.x…「状態」 「動作状況」 6.x…「システム」 「電源」 「UPS」 4. 好みでシャットダウンするバッテリー残量を設定する。 4.2.x…「システム」 「電源」 「UPS の設定」 「シャットダウンするバッテリー残量の限界値」 6.x…「システム」 「電源」 「UPS」 歯車マーク 「シャットダウンしきい値」 複数台のReadyNAS、もしくはPCを連動シャットダウンさせる場合 UPSの情報はネットワークでやり取りされるため、その通信に必要な分のネットワーク機器には、停電時にも電源が供給されるようにしておかないと連動しないので注意。きちんと連動するか、設定後にブレーカーを落とすなどして確認しておく。 上記の基本設定を行った後、引き続きUPSとUSB接続したReadyNAS (以下、親機) で以下の設定を行う。 1. 接続されたUPSのネットワーク監視を有効にする。 4.2.x…「システム」 「電源」 「UPS の設定」で、「接続された UPS のネットワーク監視を有効にします。」にチェック 6.x…「システム」 「電源」 「UPS」 歯車マーク 「UPSのネットワークモニタリングを有効にする」にチェック 2. 4.2.xのみ「アクセスを許可するホスト」の欄に、連動させたい別のReadyNASやPCのIPアドレスを入力する。 別のReadyNASと連動させたい場合、そちらで以下の設定を行う。 1. 最新のファームウェアに更新しておく。 2. 親機のUPSの監視を有効にする。 4.2.x…「システム」 「電源」 「UPS の設定」で、「リモート Ready NAS に物理的に接続されている UPS の監視を有効にする」にチェック 6.x…「システム」 「電源」 「UPS」 +マークで、「名前」を自由に設定し、「タイプ」を「リモートUPS」にする。 3. 4.2.xでは「リモート IP アドレス」、6.xでは「アドレス」の欄に、親機のIPアドレスを入力する。 Windows PCと連動させたい場合、そちらで以下の設定を行う。 なお、この場合UPS付属の監視ソフトなどは使用できない。 1. WinNUTの最新版をダウンロードして、インストールする。 2. 「WinNUT Configuration Tool」を起動する。 3. 「Edit」(編集) を押す。 4. 表示される設定ファイルに「MONITOR UPS@xxx.xxx.xxx.xxx 1 monuser pass slave」という行を加えて上書き。 (かぎかっこ不要、xxx.xxx.xxx.xxxの部分は親機のIPアドレスに書き換える。) 5. 「Install As Service」(サービスとしてインストール) にチェックし、「Automatic Startup」(自動起動) を選択。 6. お好みで「Use Timed Shutdown」(時限式シャットダウンを使用) にチェックする。 この場合、「Shutdown delay」(シャットダウンの遅延) にシャットダウンまでの秒数を指定できる。 7. 「Shutdown Method」(シャットダウンの方法) をお好みで選択。 「Normal」(通常)・ 「Forced」(強制)・ 「Force If Hung」(止まった場合強制)・ 「Hibernate」(休止状態) 注 WinNUTの更新が止まっているため、Windows 8以降は未知のOSとみなされ通常と強制しか選択できない。 互換モードのWindows 7で起動すれば他の2つも選択可能になるが、選択通り動作するかは各自検証すること。 8. 「Apply and Start WinNUT」(適用してWinNUTを開始) を押す。 Windows以外でも、Network UPS Tools (NUT)が動くOSであれば連動させられる。詳しくはNUTのサイトを参照。 親機以外、UPSとUSB接続する必要はない。 PC側を親機とする方法はないと思われる。 参考 ReadyNAS OS6 + UPS ソリューションについて UPS の設定 (文字化けするブラウザはShift_JISを選択) USB UPS, リモート UPS 設定方法 (ReadyNAS OS6 と UPS の接続方法その1) SNMP UPS (ReadyNAS OS6 と UPS の接続方法その 2) 1台のUPSを複数のReadyNASで共用する方法
https://w.atwiki.jp/linuxjapanwiki/pages/47.html
現在、LinuxJapanWikiはatwikiから Miraheze に移行中です。このページは2021年9月6日にMirahezeに移行しました。最新の情報は Mirahezeのページ で確認してください。 Debian系 このページでは、Debian系のLinuxディストリビューションについて記載します。 Debian系とは Debian系のLinuxディストリビューション コメント欄 Debian系とは Debian系とは、 Debian GNU/Linux 及びそれをベースとしたLinuxディストリビューションの総称です。 Linuxと検索するとまず目に付くほど有名な、 Ubuntu もDebian系です。 Debian系の特徴は、コンピューターやLinuxに精通していないユーザーであっても使い易いということです。 インストールから日々の使用、アップデートまで、Debian系を使った後でDebian系以外のLinuxディストリビューションを使うと、いかにDebian系が使い易いかがよくわかります。 また、2021年3月のLinuxのシェア調査では、Debian系の Ubuntu が約46%、 Debian GNU/Linux が約22%と、Debian系が圧倒的なシェアを持っています。 シェアが大きいということは情報が多いということです。 Debian系はパッケージ管理にdpkgというツールを用い、.deb形式のファイルでパッケージの配布を行っていて、パッケージマネージャーのaptによって豊富なパッケージをすぐに入手できます。 様々なGUIパッケージマネージャーもあり、必ずしもコマンドを使う必要はありません。 依存関係を自動的に解決してくれるパッケージマネージャーも多数あります。 これらの点から、Debian系はLinux初心者におすすめです。 Debian系のLinuxディストリビューション このWikiにページがあるDebian系のLinuxディストリビューションの一覧です。 日本のLinuxディストリビューションには、名前の後ろに(日本)と表記しています。 Debian GNU/Linux Ubuntu Ubuntu 派生のディストリビューションは Ubuntu・Ubuntu派生 を参照。 KNOPPIX Deepin Q4OS antiXMX Linux Raspberry Pi OS Kona Linux Pi (日本) Tails NNLinux (日本) Basix DE (日本) Kona Linux (日本) MicnoLinux(日本) コメント欄 コメント欄の利用に関してはコメント欄の利用を参照して下さい。 本ページに無関係な内容のコメントは一律して削除されます。Wiki運営に関しては Wiki運営掲示板 にお願いします 。 投稿されているコメントへの返信の際は、必ず返信したいコメント横の○にチェックを入れて返信して下さい。 +上記の内容を守れる方のみご利用ください。 上記の内容を守れる方のみご利用ください。 コメントログ作成 - 名無しさん (2020-05-01 02 24 25) 名前 コメントログ
https://w.atwiki.jp/parallels/pages/8.html
Debianのサイト Debian JP Project
https://w.atwiki.jp/anythingmemo/pages/14.html
debianでやったこと、それについての設定など 初期設定 固定IP VIM
https://w.atwiki.jp/linuxjapanwiki/pages/92.html
現在、LinuxJapanWikiはatwikiから Miraheze に移行中です。このページは2021年9月6日にMirahezeに移行しました。最新の情報は Mirahezeのページ で確認してください。 Debian GNU/Linux ▲Debian Projectのロゴ Debian GNU/Linuxは、Debian Projectによって開発されているLinuxディストリビューション。 ▲デスクトップ画面(10.0 "buster" Cinnamon) 各種データ 開発者 Debian Project 系統 Debian系 開発状況 開発中 初版 1993年8月16日 最新版 11.0 / 2021年8月14日 (*1) アップデート方式 APT , Synaptic パッケージ管理 dpkg カーネル Linux デスクトップ環境 GNOME , Xfce , KDE , Cinnamon , MATE , LXDE , LXQtなど ウェブサイト https //www.debian.org/ (公式) https //www.debian.or.jp/ (Debian JP Project) 概要 Debian GNU/Linuxは、GNUプロジェクトの精神を尊重し、フリーソフトウェアのみで構成されている。 Debian Projectは、様々なパッケージを51,000以上提供している。 Debian GNU/Linuxは、それをベースとしたLinuxディストリビューションの作成が考慮されており、 Ubuntu を始め、多くのLinuxディストリビューションがDebian GNU/Linuxから派生している。 パッケージ管理 Debian GNU/Linuxでは、独自のパッケージ管理システムであるAPT (Advanced Package Tool) により、簡単にソフトウェアの更新が行える。 セキュリティや依存関係も同時に確認してくれる仕様になっている。 Synapticやgdebiの様に、GUIを採用したパッケージ管理システムも備えている。 リリース 主なリリースを以下に列挙する。 +... 主なバージョン リリース日 主な変更点 1.1 "buzz" 1996年6月17日 dpkg、Executable and Linkable Formatへ移行、Linux 2.0 1.2 "rex" 1996年12月12日 1.3 "bo" 1997年6月2日 2.0 "hamm" 1998年7月24日 glibcへ移行、新アーキテクチャ:m68k 2.1 "slink" 1999年3月9日 APT、新アーキテクチャ:alpha , sparc 2.2 "potato" 2000年8月15日 新アーキテクチャ ARM , PowerPC 3.0 "woody" 2002年7月19日 新アーキテクチャ:hppa , IA-64 , mips , mipsel , s390 3.1 "sarge" 2005年6月6日 モジュラーインストーラー、半公式AMD64サポート 4.0 "etch" 2007年4月8日 グラフィカルインストールサポート udevへ移行、モジュラー X.Org Serverへ移行、新アーキテクチャ:AMD64、脱落アーキテクチャ:m68k。最終リリースは、2010年5月22日にリリースされた4.0r9。 5.0 "lenny" 2009年2月14日 新アーキテクチャ:armel。SPARC 32ビットハードウェアサポートがなくなる。完全なEee PCサポート。 6.0 "squeeze" 2011年2月6日 脱落アーキテクチャ:alpha , hppa , ARM、LTS対象アーキテクチャ:i386 , AMD64。eglibcへの移行。新しいinsservとSysv initによる依存関係ベースのブートシーケンスサポート。旧式ライブラリの除去。バイナリ・ブロブのLinuxカーネルイメージパッケージからの分離。長期サポート(LTS)の開始。KDE 4.4.5 , GNOME 2.30 , Xfce 4.6 , LXDE 0.5 , X.Org 7.5 , Linux 2.6.32。 7.0 "wheezy" 2013年5月4日 新アーキテクチャ:armhf , s390x。LTS対象アーキテクチャ:i386 , AMD64 , armel , armhf。Multiarchのサポート。AMD64向けにUEFIインストール/ブートのサポート。Linux 3.2 , KDE 4.8.4 , GNOME 3.4 , Xfce 4.8 , X.Org 7.7 8.0 "jessie" 2015年4月25日 新アーキテクチャ:ARM64 , ppc64el、脱落アーキテクチャ:s390 , IA-64 , sparc。LTS対象アーキテクチャ:i386 , AMD64 , armel , armhf。eglibcからglibcへの再移行。systemdをデフォルトのinitシステムへ。32ビットシステム上のUEFIのサポート。Linux 3.16 , KDE 4.11.13 , GNOME 3.14 , Xfce 4.10 9.0 "stretch" 2017年6月17日 新アーキテクチャ:mips64el、脱落アーキテクチャ:PowerPC。MariaDBがMySQLを置き換え。GnuPGを2.1(モダンブランチ)に移行。Xorgサーバーを一般ユーザー権限で実行可能に。Linux 4.9 , KDE 5.28 , GNOME 3.22 , Xfce 4.12。 10.0 "buster" 2019年7月6日 UEFIセキュアブートのサポート。デフォルトのディスプレイサーバをX.Org ServerからWaylandに移行。Linux 4.19 , KDE 5.14 , GNOME 3.30 , Xfce 4.12。 11.0 "bullseye" 2021年8月14日 - 日本のDebian系ディストリビューション 詳細は「 Debian系 」参照 NNLinux Basix DE Kona Linux Kona Linux Pi MicnoLinux Debian系の Ubuntu から派生した日本のディストリビューションは、 日本のUbuntu派生ディストリビューション を参照。 外部リンク Debian -- The Universal Operating System Debian JP Project コメント欄 コメント欄の利用に関してはコメント欄の利用を参照して下さい。 本ページに無関係な内容のコメントは一律して削除されます。Wiki運営に関しては Wiki運営掲示板 にお願いします 。 投稿されているコメントへの返信の際は、必ず返信したいコメント横の○にチェックを入れて返信して下さい。 +上記の内容を守れる方のみご利用ください。 上記の内容を守れる方のみご利用ください。 コメントログ作成 - 名無しさん (2020-05-03 02 55 57) 名前 コメントログ
https://w.atwiki.jp/anthony/pages/37.html
Debian Wheezyのインストール Debian Wheezy Setupの続きです。 今回Wheezy版のDebianは誰かがminirootのようなものを作ってくれているわけではないので、DebianのInstallerを使ってセットアップします。 私が良く参考にするhttp //buffalo.nas-central.org/にも同じようなことが書いてあったので最近はこれが主流なんでしょうか。 Continue Installation remotely SSH lqqqqqqqqqqqu [!!] Continue installation remotely using SSH tqqqqqqqqqqqk x x x Start SSH x x To continue the installation, please use an SSH client to connect to x x the IP address 192.168.3.50 and log in as the "installer" user. For x x example x x x x ssh installer@192.168.3.50 x x x x The fingerprint of this SSH server s host key is x x 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 x x x x Please check this carefully against the fingerprint reported by your x x SSH client. x x x x Continue x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj この画面が表示されると ssh installer@192.168.3.50 のように接続先情報が表示されるので、これに合わせてSSHで接続する。 user、passは以下のとおり。※keyは書き換えてあります。 user installer pass install Choose a mirror of the Debian archive lqqqqqqqqqqqqqqu [!] Choose a mirror of the Debian archive tqqqqqqqqqqqqqqk x x x The goal is to find a mirror of the Debian archive that is close to x x you on the network -- be aware that nearby countries, or even your x x own, may not be the best choice. x x x x Debian archive mirror country x x x x Spain x x Sweden a x x Switzerland a x x Taiwan a x x Thailand a x x Turkey a x x Ukraine x x United Kingdom a x x United States x x x x Go Back x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj Japanを選択 lqqqqqqqqqqqqqqu [!] Choose a mirror of the Debian archive tqqqqqqqqqqqqqqk x x x Please select a Debian archive mirror. You should use a mirror in x x your country or region if you do not know which mirror has the best x x Internet connection to you. x x x x Usually, ftp. your country code .debian.org is a good choice. x x x x Debian archive mirror x x x x ftp.jp.debian.org x x ftp.nara.wide.ad.jp x x dennou-k.gfd-dennou.org a x x dennou-q.gfd-dennou.org a x x dennou-h.gfd-dennou.org a x x cdn.debian.net a x x ftp.dti.ad.jp x x x x Go Back x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj ftp.jp.debian.orgを選択 lqqqqqqqqqqqqu [!] Choose a mirror of the Debian archive tqqqqqqqqqqqqk x x x If you need to use a HTTP proxy to access the outside world, enter x x the proxy information here. Otherwise, leave this blank. x x x x The proxy information should be given in the standard form of x x "http //[[user][ pass]@]host[ port]/". x x x x HTTP proxy information (blank for none) x x x x ___________________________________________________________________ x x x x Go Back Continue x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj プロキシーは不要な環境なのでブランクのまま Continue Select a language lqqqqqqqqqqqqqqqqqqqqqqqu [!!] Select a language tqqqqqqqqqqqqqqqqqqqqqqqqk x x x Choose the language to be used for the installation process. The x x selected language will also be the default language for the installed x x system. x x x x Language x x x x Catalan - Catala x x Chinese (Simplified) - 中文(簡体) a x x Chinese (Traditional) - 中文(繁体) x x Croatian - Hrvatski a x x Czech - ?e?tina a x x Danish - Dansk a x x Dutch - Nederlands a x x Dzongkha - ??????? a x x English - English x x x x Go Back x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj Japaneseを選択 場所の選択 言語を日本語にしたのでここから急に日本語表示になる。 lqqqqqqqqqqqqqqqqqqqqqqqqqqqu [!] 場所の選択 tqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x x x ここで選択された場所は、時間帯の設定のほか、システムロケールの選択の x x 支援などに使われます。通常これはあなたの居住する国であるはずです。 x x x x アジア についての場所を一覧表示しています。一覧にあなたの場所がないと x x きには、別の大陸または地域を選ぶために 戻る を選択してください。 x x x x 国・領土・地域 x x x x 香港 x x 台湾 a x x 大韓民国 (韓国) a x x 中国 a x x 朝鮮民主主義人民共和国 a x x 東ティモール a x x 日本 x x x x 戻る x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj 日本を選択 ユーザとパスワードのセットアップ lqqqqqqqqqqqqqqqqu [!!] ユーザとパスワードのセットアップ tqqqqqqqqqqqqqqqqk x x x root (システム管理者アカウント) のパスワードをここで設定する必要が x x あります。悪意のある、あるいは資格のないユーザが root 権限を得てしま x x うことは大損害につながるので、root のパスワードは簡単に推測できるもの x x にならないよう注意を払うべきです。辞書に載っている単語や、あなたのミ x x ドルネームのようにあなたに関連する語であってはなりません。 x x x x 良いパスワードは、アルファベット・数字・記号で構成されます。また、定 x x 期的にパスワードは変更されるべきです。 x x x x root ユーザのパスワードを空にすべきではありません。空のままにすると、 x x root アカウントは無効にされ、システムの初期ユーザアカウントに "sudo" x x コマンドを使って root になる権限が与えられます。 x x x x x x _____________________________________________________________________ x x x x 戻る 続ける x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj パスワードを設定 lqqqqqqqqqqqqqqu [!!] ユーザとパスワードのセットアップ tqqqqqqqqqqqqqqqk x x x 確認のために、先ほど入力した同じ root のパスワードを再度入力してくだ x x さい。 x x x x 確認のため、再度パスワードを入力してください x x x x ____________________________________________________________________ x x x x 戻る 続ける x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj パスワードを再入力 lqqqqqqqqqqqqqqqu [!!] ユーザとパスワードのセットアップ tqqqqqqqqqqqqqqqk x x x ユーザアカウントは非管理者権限で、root アカウントの代わりとして使うた x x めに作成されます。 x x x x このユーザの本名を入力してください。この情報は、ユーザの本名を表示あ x x るいは利用するプログラムのほか、このユーザから送られるメールのデフォ x x ルトの発信元といった形で使われます。あなたのフルネームを入力するのが x x 妥当な選択でしょう。 x x x x 新しいユーザの本名 (フルネーム) x x x x _____________________________________________________________________ x x x x 戻る 続ける x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj 設定する意味が分からないのでブランクのまま Continue lqqqqqqqqqqqqqqu [!!] ユーザとパスワードのセットアップ tqqqqqqqqqqqqqqqk x x x 新しいアカウントのユーザ名を選んでください。あなたのファーストネーム x x を使うのは妥当な選択です。ユーザ名の先頭は小文字アルファベットでなけ x x ればならず、数字・小文字アルファベットの任意の組合わせで構成されます x x 。 x x x x あなたのアカウントのユーザ名 x x x x ____________________________________________________________________ x x x x 戻る 続ける x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj NANDブート時と同じように構成したいのでkurobox lqqqqqqqqqqqqqqu [!!] ユーザとパスワードのセットアップ tqqqqqqqqqqqqqqqk x x x 良いパスワードは、アルファベット・数字・記号で構成されます。また、定 x x 期的にパスワードは変更されるべきです。 x x x x 新しいユーザのパスワードを選んでください x x x x ____________________________________________________________________ x x x x 戻る 続ける x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj kurobox lqqqqqqqqqqqqqqu [!!] ユーザとパスワードのセットアップ tqqqqqqqqqqqqqqqk x x x 確認のため、先ほど入力したのと同じユーザパスワードを再度正確に入力し x x てください。 x x x x 確認のため、再度パスワードを入力してください x x x x ____________________________________________________________________ x x x x 戻る 続ける x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj パスワードの再入力 ディスクのパーティショニング lqqqqqqqqqqqqqqqqqqu [!!] ディスクのパーティショニング tqqqqqqqqqqqqqqqqqqk x x x 選択したディスク内のすべてのデータは失われます。ただし、変更を本当に x x 行うことを確認するまでは、実際にはこの処理は行われません。 x x x x パーティショニングするディスクの選択 x x x x SCSI1 (0,0,0) (sda) - 250.1 GB ATA Hitachi HTS54252 x x x x 戻る x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj 250Gの2.5inch HDDを繋いであるのが分かります。 lqqqqqqqqqqqqqqqqqqu [!] ディスクのパーティショニング tqqqqqqqqqqqqqqqqqqqk x x x 選択されたパーティショニング x x x x SCSI1 (0,0,0) (sda) - ATA Hitachi HTS54252 250.1 GB x x x x ディスクは、いくつかの異なる機構のうちの 1 つでパーティショニングされ x x ます。よくわからなければ、最初の選択肢を選んでください。 x x x x パーティショニング機構 x x x x すべてのファイルを 1 つのパーティションに (初心者ユーザには推奨) x x /home パーティションの分割 x x /home, /usr, /var, /tmp パーティションを分割 x x x x 戻る x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj あまり細かく分かれていると空き領域を効率よく使えないので、すべてのファイルを 1 つのパーティションにを選択 lqqqqqqqqqqqqqqqqqqu [!!] ディスクのパーティショニング tqqqqqqqqqqqqqqqqqqk x x x これはあなたの現在の設定済みパーティションとマウントポイントの概要で x x す。その設定 (ファイルシステム、マウントポイントなど) を変更したいパ x x ーティション、新しいパーティションを追加するための空き領域、あるいは x x パーティションテーブルを初期化したいデバイスのいずれかを選択してくだ x x さい。 x x x x 論理ボリュームマネージャの設定 x x a x x SCSI1 (0,0,0) (sda) - 250.1 GB ATA Hitachi HTS54252 a x x 1. 基本 254.8 MB B f ext2 /boot a x x 2. 基本 249.4 GB f ext4 / a x x 5. 論理 374.3 MB f スワップ スワップ a x x a x x パーティションへの変更を元に戻す x x パーティショニングの終了とディスクへの変更の書き込み x x x x 戻る x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj カスタマイズはできないみたい。特に気にせずパーティショニングの終了とディスクへの変更の書き込みを選択 lqqqqqqqqqqqqqqqqu [!!] ディスクのパーティショニング tqqqqqqqqqqqqqqqqqk x x x 続けると、以下に挙げた変更はディスクに書き込まれます。あるいは、手動 x x でさらに変更を加えることができます。 x x x x *警告* これは、パーティションを初期化するのと同様に、削除するとした x x パーティションのすべてのデータを破壊します。 x x x x 以下のデバイスのパーティションテーブルが変更されます x x SCSI1 (0,0,0) (sda) x x x x 以下のパーティションは初期化されます x x SCSI1 (0,0,0) (sda) のパーティション 1 を ext2 に x x SCSI1 (0,0,0) (sda) のパーティション 2 を ext4 に x x SCSI1 (0,0,0) (sda) のパーティション 5 を スワップ に x x x x ディスクに変更を書き込みますか? x x x x はい いいえ x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj はい popularity-contest lqqqqqqqqqqqqqqu [!] popularity-contest を設定しています tqqqqqqqqqqqqqqk x x x このシステムであなたが最も利用したパッケージについての統計をディスト x x リビューション開発者に匿名で提供するようシステムを設定できます。この x x 情報は私たちが 1 番目の配布 CD に入れるべきパッケージであるかどうかな x x どを決定する際に役立ちます。 x x x x 参加することを選ぶと、自動提出スクリプトが毎週 1 回自動的に実行され、 x x ディストリビューション開発者に統計が送られます。収集された統計は、 x x http //popcon.debian.org/ で見ることができます。 x x x x この決定は、あとでいつでも "dpkg-reconfigure popularity-contest" を実 x x 行して変更できます。 x x x x Debian パッケージ利用調査に参加しますか? x x x x 戻る はい いいえ x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj ソフトウェアの選択 lqqqqqqqqqqqqqqqqqqqqqqqu [!] ソフトウェアの選択 tqqqqqqqqqqqqqqqqqqqqqqqqk x x x 現時点では、システムのコアのみがインストールされている状態です。あな x x たのニーズに合うようにシステムを調整するために、以下の定義済みソフト x x ウェアコレクションから 1 つ以上をインストールできます。 x x x x インストールするソフトウェアの選択 x x [ ] Debian デスクトップ環境 x x [ ] Web サーバ x x [ ] プリンタサーバ a x x [ ] SQL データベース a x x [ ] DNS サーバ a x x [ ] ファイルサーバ a x x [ ] メールサーバ a x x [*] SSH サーバ a x x [ ] ノート PC x x x x 戻る 続ける x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj まずは最小構成で進めようと思います。のでそのまま 続ける インストールの完了 lqqqqqqqqqqqqqqqqqqqqqu [!!] インストールの完了 tqqqqqqqqqqqqqqqqqqqqqqk x x x インストール完了 x x インストールは完了し、新しいシステムを起動する時となりました。あなた x x のシステムが新しいシステムをインストールしたディスクから起動するよう x x 、インストールメディア (CD-ROM、フロッピー) が除かれていることを確認 x x してください。 x x x x 戻る 続ける x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj そのまま 続ける Abort the installationThe system is going down NOW! Sent SIGTERM to all processes Sent SIGKILL to all processes Requesting system reboot [28071.652462] Restarting system. Orion1 CPU = Low === KURO U-Boot. === ** LOADER ** ** KUROBOX BOARD KURO_BOX LE (CFG_ENV_ADDR=fffff000) U-Boot 1.1.1 (Apr 10 2007 - 18 10 08) Marvell version 1.12.1 - TINY DRAM CS[0] base 0x00000000 size 128MB DRAM Total size 128MB [256kB@fffc0000] Flash 256 kB Addresses 20M - 0M are saved for the U-Boot usage. Mem malloc Initialization (20M - 16M) Done NAND 256 MB Soc 88F5182 A2 CPU ARM926 (Rev 0) running @ 500Mhz Orion 1 streaming disabled SysClock = 250Mhz , TClock = 166Mhz USB 0 host mode USB 1 host mode PCI 0 PCI Express Root Complex Interface PCI 1 Conventional PCI, speed = 33000000 Net egiga0 [PRIME] Using 88E1118 phy hit any key to switch tftp boot. Hit any key to stop autoboot 2 1 0 system_bootend Hit any key to stop autoboot 3 2 1 0 Reset IDE Marvell Serial ATA Adapter Integrated Sata device found Device 0 OK Model Hitachi HTS542525K9SA00 Firm BBFOC31P Ser# 080422BB6F00WDDDBT6G Type Hard Disk Supports 48-bit addressing Capacity 238475.1 MB = 232.8 GB (488397168 x 512) Using device ide0, partition 1 Loading from block device ide device 0, partition 1 Name hda1 Type U-Boot File /uImage.buffalo 1484072 bytes read Using device ide0, partition 1 Loading from block device ide device 0, partition 1 Name hda1 Type U-Boot File /initrd.buffalo 2342569 bytes read stop_sound ## Booting image at 00100000 ... Image Name kernel 3.2.0-4-orion5x Created 2015-03-10 21 14 02 UTC Image Type ARM Linux Kernel Image (uncompressed) Data Size 1484008 Bytes = 1.4 MB Load Address 00008000 Entry Point 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 02000000 ... Image Name ramdisk 3.2.0-4-orion5x Created 2015-03-10 21 14 03 UTC Image Type ARM Linux RAMDisk Image (gzip compressed) Data Size 2342505 Bytes = 2.2 MB Load Address 00000000 Entry Point 00000000 Verifying Checksum ... OK Starting kernel ... arg console=ttyS0,115200 Uncompressing Linux... done, booting the kernel. [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.2.0-4-orion5x (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 Debian 3.2.65-1+deb7u2 [ 0.000000] CPU Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a0053177 [ 0.000000] CPU VIVT data cache, VIVT instruction cache [ 0.000000] Machine Buffalo/Revogear Kurobox Pro [ 0.000000] Clearing invalid memory bank 0KB@0xffffffff [ 0.000000] Clearing invalid memory bank 0KB@0xffffffff [ 0.000000] Clearing invalid memory bank 0KB@0xffffffff [ 0.000000] Ignoring unrecognised tag 0x00000000 [ 0.000000] Ignoring unrecognised tag 0x00000000 [ 0.000000] Ignoring unrecognised tag 0x00000000 [ 0.000000] Ignoring unrecognised tag 0x41000403 [ 0.000000] Memory policy ECC disabled, Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages 32512 [ 0.000000] Kernel command line console=ttyS0,115200 [ 0.000000] PID hash table entries 512 (order -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries 16384 (order 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries 8192 (order 3, 32768 bytes) [ 0.000000] Memory 128MB = 128MB total [ 0.000000] Memory 123156k/123156k available, 7916k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout [ 0.000000] vector 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc 0xc8800000 - 0xfd800000 ( 848 MB) [ 0.000000] lowmem 0xc0000000 - 0xc8000000 ( 128 MB) [ 0.000000] modules 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text 0xc0008000 - 0xc039c088 (3665 kB) [ 0.000000] .init 0xc039d000 - 0xc03c0000 ( 140 kB) [ 0.000000] .data 0xc03c0000 - 0xc03f9fc0 ( 232 kB) [ 0.000000] .bss 0xc03f9fe4 - 0xc045ca7c ( 395 kB) [ 0.000000] NR_IRQS 64 [ 0.000000] sched_clock 32 bits at 166MHz, resolution 5ns, wraps every 25769ms [ 0.000000] Console colour dummy device 80x30 [ 12.620021] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) [ 12.689711] pid_max default 32768 minimum 301 [ 12.690023] Security Framework initialized [ 12.690207] Mount-cache hash table entries 512 [ 12.690940] Initializing cgroup subsys cpuacct [ 12.690989] Initializing cgroup subsys memory [ 12.691048] Initializing cgroup subsys devices [ 12.691079] Initializing cgroup subsys freezer [ 12.691107] Initializing cgroup subsys net_cls [ 12.691136] Initializing cgroup subsys blkio [ 12.691191] Initializing cgroup subsys perf_event [ 12.691379] CPU Testing write buffer coherency ok [ 12.693894] devtmpfs initialized [ 12.697381] print_constraints dummy [ 12.697835] NET Registered protocol family 16 [ 12.699386] Orion ID MV88F5182-A2. TCLK=166666667. [ 12.703154] Applying Orion-1/Orion-NAS PCIe config read transaction workaround [ 12.703909] PCI bus0 Fast back to back transfers disabled [ 12.710118] bio create slab bio-0 at 0 [ 12.711296] vgaarb loaded [ 12.713280] Switching to clocksource orion_clocksource [ 12.758062] NET Registered protocol family 2 [ 12.791444] IP route cache hash table entries 1024 (order 0, 4096 bytes) [ 12.793204] TCP established hash table entries 4096 (order 3, 32768 bytes) [ 12.793530] TCP bind hash table entries 4096 (order 2, 16384 bytes) [ 12.793675] TCP Hash tables configured (established 4096 bind 4096) [ 12.793708] TCP reno registered [ 12.793748] UDP hash table entries 256 (order 0, 4096 bytes) [ 12.793820] UDP-Lite hash table entries 256 (order 0, 4096 bytes) [ 12.794446] NET Registered protocol family 1 [ 12.794985] Unpacking initramfs... [ 13.350033] Freeing initrd memory 2284K [ 13.350064] NetWinder Floating Point Emulator V0.97 (double precision) [ 13.351510] audit initializing netlink socket (disabled) [ 13.351594] type=2000 audit(0.720 1) initialized [ 13.354742] VFS Disk quotas dquot_6.5.2 [ 13.354999] Dquot-cache hash table entries 1024 (order 0, 4096 bytes) [ 13.355292] msgmni has been set to 245 [ 13.356779] alg No test for stdrng (krng) [ 13.357052] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 13.357092] io scheduler noop registered [ 13.357120] io scheduler deadline registered [ 13.357271] io scheduler cfq registered (default) [ 13.357515] mv_xor_shared mv_xor_shared.0 Marvell shared XOR driver [ 13.393468] mv_xor mv_xor.0 Marvell XOR ( xor cpy ) [ 13.433461] mv_xor mv_xor.1 Marvell XOR ( xor fill cpy ) [ 13.434503] Serial 8250/16550 driver, 2 ports, IRQ sharing disabled [ 13.456143] serial8250.0 ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A [ 13.883791] console [ttyS0] enabled [ 13.908120] serial8250.1 ttyS1 at MMIO 0xf1012100 (irq = 4) is a 16550A [ 13.916953] physmap platform flash device 00040000 at f4000000 [ 13.923108] Found SST 39LF020 [ 13.926262] physmap-flash.0 Found 1 x8 devices at 0x0 in 8-bit bank [ 13.932633] number of JEDEC chips 1 [ 13.970360] NAND device Manufacturer ID 0x20, Chip ID 0xda (ST Micro NAND 256MiB 3,3V 8-bit) [ 13.979166] Scanning device for bad blocks [ 14.015475] Bad eraseblock 854 at 0x000006ac0000 [ 14.078859] Creating 3 MTD partitions on "orion_nand" [ 14.084075] 0x000000000000-0x000000400000 "uImage" [ 14.091634] 0x000000400000-0x000004400000 "rootfs" [ 14.099387] 0x000004400000-0x000010000000 "extra" [ 14.108359] mousedev PS/2 mouse device common for all mice [ 14.114902] i2c /dev entries driver [ 14.123016] rtc-rs5c372 0-0032 rs5c372a found, 24hr, driver version 0.6 [ 14.135111] rtc-rs5c372 0-0032 rtc core registered rtc-rs5c372 as rtc0 [ 14.144416] TCP cubic registered [ 14.147659] NET Registered protocol family 17 [ 14.152153] Registering the dns_resolver key type [ 14.156974] VFP support v0.3 not present [ 14.162261] registered taskstats version 1 [ 14.168196] rtc-rs5c372 0-0032 setting system clock to 2015-03-10 21 15 35 UTC (1426022135) [ 14.176814] Initializing network drop monitor service [ 14.183495] Freeing init memory 140K Loading, please wait... [ 14.362125] udevd[52] starting version 175 [ 14.920528] SCSI subsystem initialized [ 15.152042] sata_mv sata_mv.0 slots 32 ports 2 [ 15.212006] scsi0 sata_mv [ 15.221725] scsi1 sata_mv [ 15.231175] ata1 SATA max UDMA/133 irq 29 [ 15.235359] ata2 SATA max UDMA/133 irq 29 [ 15.743454] ata1 SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 15.783482] ata1.00 ATA-8 Hitachi HTS542525K9SA00, BBFOC31P, max UDMA/133 [ 15.790451] ata1.00 488397168 sectors, multi 0 LBA48 NCQ (depth 31/32) [ 15.853498] ata1.00 configured for UDMA/133 [ 15.858597] scsi 0 0 0 0 Direct-Access ATA Hitachi HTS54252 BBFO PQ 0 ANSI 5 [ 16.213416] ata2 SATA link down (SStatus 0 SControl 300) [ 16.290683] sd 0 0 0 0 [sda] 488397168 512-byte logical blocks (250 GB/232 GiB) [ 16.301571] sd 0 0 0 0 [sda] Write Protect is off [ 16.306835] sd 0 0 0 0 [sda] Write cache enabled, read cache enabled, doesn t support DPO or FUA [ 16.362928] sda sda1 sda2 sda3 sda5 [ 16.374243] sd 0 0 0 0 [sda] Attached SCSI disk Begin Loading essential drivers ... done. Begin Running /scripts/init-premount ... done. Begin Mounting root file system ... Begin Running /scripts/local-top ... done. Begin Running /scripts/local-premount ... done. [ 17.643965] EXT4-fs (sda2) mounted filesystem with ordered data mode. Opts (null) Begin Running /scripts/local-bottom ... done. done. Begin Running /scripts/init-bottom ... done. INIT version 2.88 booting [info] Using makefile-style concurrent boot in runlevel S. [....] Starting the hotplug events dispatcher udevd[ 21.375725] udevd[248] starting version 175 [ ok . [....] Synthesizing the initial hotplug events...[ 22.291560] mv643xx_eth MV-643xx 10/100/1000 ethernet driver version 1.4 [ 22.366532] mv643xx_eth smi probed [ 22.661027] usbcore registered new interface driver usbfs [ 22.790017] usbcore registered new interface driver hub [ 22.852682] usbcore registered new device driver usb [ 22.860997] ehci_hcd USB 2.0 Enhanced Host Controller (EHCI) Driver [ 22.917271] alg hash Test 6 failed for mv-hmac-sha1 [ 22.922338] 00000000 9a 5e 0d 81 ff f1 0b 69 3b 73 88 c8 d6 c9 13 d9 [ 22.928838] 00000010 06 e3 53 3e [ ok [ 23.111259] mv643xx_eth_port mv643xx_eth_port.0 eth0 port 0 with MAC address XX XX XX XX XX XX [ 23.179638] orion-ehci orion-ehci.0 Marvell Orion EHCI [ 23.239391] orion-ehci orion-ehci.0 new USB bus registered, assigned bus number 1 done. [ 23.333568] orion-ehci orion-ehci.0 irq 17, io mem 0xf1050000 [ 23.371174] orion-ehci orion-ehci.0 USB 2.0 started, EHCI 1.00 [ 23.441050] usb usb1 New USB device found, idVendor=1d6b, idProduct=0002 [ 23.447952] usb usb1 New USB device strings Mfr=3, Product=2, SerialNumber=1 [ 23.455210] usb usb1 Product Marvell Orion EHCI [ 23.459915] usb usb1 Manufacturer Linux 3.2.0-4-orion5x ehci_hcd [ 23.466125] usb usb1 SerialNumber orion-ehci.0 [ 23.528137] hub 1-0 1.0 USB hub found [ 23.531924] hub 1-0 1.0 1 port detected [....] Waiting for /dev to be fully populated...[ 23.581341] orion-ehci orion-ehci.1 Marvell Orion EHCI [ 23.622006] orion-ehci orion-ehci.1 new USB bus registered, assigned bus number 2 [ 23.693531] orion-ehci orion-ehci.1 irq 12, io mem 0xf10a0000 [ 23.714740] orion-ehci orion-ehci.1 USB 2.0 started, EHCI 1.00 [ 23.770882] usb usb2 New USB device found, idVendor=1d6b, idProduct=0002 [ 23.777755] usb usb2 New USB device strings Mfr=3, Product=2, SerialNumber=1 [ 23.786572] usb usb2 Product Marvell Orion EHCI [ 23.791286] usb usb2 Manufacturer Linux 3.2.0-4-orion5x ehci_hcd [ 23.797527] usb usb2 SerialNumber orion-ehci.1 [ 23.813252] hub 2-0 1.0 USB hub found [ 23.823524] hub 2-0 1.0 1 port detected [ ok done. [....] Activating swap...[ 25.575107] Adding 365564k swap on /dev/sda5. Priority -1 extents 1 across 365564k [ ok done. [ 25.784209] EXT4-fs (sda2) re-mounted. Opts (null) [....] Checking root file system...fsck from util-linux 2.20.1 /dev/sda2 clean, 28999/15228928 files, 1152291/60895488 blocks [ ok done. [ 26.623887] EXT4-fs (sda2) re-mounted. Opts errors=remount-ro [....] Creating compatibility symlink from /etc/mtab to /proc/mounts. ...[warn (warning). [....] Cleaning up temporary files... /tmp[ ok . [....] Activating lvm and md swap...[ ok done. [....] Checking file systems...fsck from util-linux 2.20.1 /dev/sda1 clean, 19/124496 files, 24420/248832 blocks [ ok done. [....] Mounting local filesystems...[ ok done. [....] Activating swapfile swap...[ ok done. [....] Cleaning up temporary files...[ ok . [....] Setting kernel variables ...[ ok done. [....] Configuring network interfaces...[ ok done. [....] Starting rpcbind daemon...[ 39.283999] NET Registered protocol family 10 [ ok [ 39.856487] ADDRCONF(NETDEV_UP) eth0 link is not ready . [....] Starting NFS common utilities statd[ 40.687439] RPC Registered named UNIX socket transport module. [ 40.693454] RPC Registered udp transport module. [ 40.698162] RPC Registered tcp transport module. [ 40.702863] RPC Registered tcp NFSv4.1 backchannel transport module. [ 40.794613] FS-Cache Loaded [ 40.951004] FS-Cache Netfs nfs registered for caching [ 41.029764] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). idmapd[ ok . [ 41.634490] mv643xx_eth_port mv643xx_eth_port.0 eth0 link up, 100 Mb/s, full duplex, flow control disabled [ 41.644559] ADDRCONF(NETDEV_CHANGE) eth0 link becomes ready [....] Cleaning up temporary files...[ ok . [....] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix[ ok . INIT Entering runlevel 2 [info] Using makefile-style concurrent boot in runlevel 2. [....] Starting rpcbind daemon...[....] Already running.[ ok . [....] Starting NFS common utilities statd idmapd[ ok . [....] Starting enhanced syslogd rsyslogd[ ok . [....] Starting deferred execution scheduler atd[ ok . [....] Starting periodic command scheduler cron[ ok . [....] Starting MTA exim4[ ok . [....] Starting OpenBSD Secure Shell server sshd[ ok . [....] Starting Daemon for Linkstation/Kuro micro controller micro-evtd[ ok . Debian GNU/Linux 7 debian ttyS0 debian login root Password Linux debian 3.2.0-4-orion5x #1 Debian 3.2.65-1+deb7u2 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@debian ~# インストール完了! 設置のため一度シャットダウン root@debian ~# shutdown -h now Broadcast message from root@debian (pts/0) (Wed Mar 11 06 16 53 2015) The system is going down for system halt NOW! INIT Switching to runlevel 0 INIT Sending processe[info] Using makefile-style concurrent boot in runlevel 0. [....] Stopping deferred execution scheduler atd[ ok . [....] Stopping MTA exim4_listener[ ok . [....] Stopping Daemon for Linkstation/Kuro micro controller micro-evtd[ ok . [....] Asking all remaining processes to terminate...[ ok done. [....] All processes ended within 1 seconds...[ ok done. [....] Stopping enhanced syslogd rsyslogd[ ok . [....] Stopping NFS common utilities idmapd statd[ ok . [info] Saving the system clock. [info] Hardware Clock updated to Wed Mar 11 06 16 58 JST 2015. [....] Stopping rpcbind daemon...rpcbind rpcbind terminating on signal. Restart with "rpcbind -w" [ ok . [....] Deconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https //www.isc.org/software/dhcp/ Listening on LPF/eth0/XX XX XX XX XX XX Sending on LPF/eth0/XX XX XX XX XX XX Sending on Socket/fallback DHCPRELEASE on eth0 to 192.168.3.1 port 67 [ ok done. [....] Deactivating swap...[ ok done. [....] Unmounting local filesystems...[ ok done. [ 99.630022] EXT4-fs (sda2) re-mounted. Opts (null) [info] Will now halt. [ 101.956390] sd 0 0 0 0 [sda] Synchronizing SCSI cache [ 101.961857] sd 0 0 0 0 [sda] Stopping disk [ 102.463762] Power down. [ 102.466219] kurobox_pro_power_off triggering power-off... [ 102.539404] ata1 exception Emask 0x10 SAct 0x0 SErr 0x180000 action 0x6 frozen [ 102.546792] ata1 edma_err_cause=00000020 pp_flags=00000000, SError=00180000 [ 102.553886] ata1 SError { 10B8B Dispar } [ 102.558019] ata1 hard resetting link
https://w.atwiki.jp/sevenlives/pages/334.html
UPS【無停電電源装置】 読み:ゆーぴーえす 英語:Uninterruptible Power Supply 別名: 意味: UPSとは不意の事故等により落ちた電源のかわりに一時的に電力を配給する装置のこと。 ハードディスクの書きこみ時などに電源が落ちると致命的になるのでそれを防止することができる。 ハードの災害対策の一つ。 2007年04月16日